From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 05 18:40:12 2014 Received: (at submit) by debbugs.gnu.org; 5 Nov 2014 23:40:12 +0000 Received: from localhost ([127.0.0.1]:50587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmABO-0006yt-Jb for submit@debbugs.gnu.org; Wed, 05 Nov 2014 18:40:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56653) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmA4F-0006kJ-QC for submit@debbugs.gnu.org; Wed, 05 Nov 2014 18:32:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmA48-0007Uy-AK for submit@debbugs.gnu.org; Wed, 05 Nov 2014 18:32:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=BAYES_50,DEAR_SOMETHING, FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmA48-0007Uu-85 for submit@debbugs.gnu.org; Wed, 05 Nov 2014 18:32:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmA41-000378-Gw for bug-coreutils@gnu.org; Wed, 05 Nov 2014 18:32:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmA3t-0007Se-LV for bug-coreutils@gnu.org; Wed, 05 Nov 2014 18:32:33 -0500 Received: from nm31-vm8.bullet.mail.ir2.yahoo.com ([212.82.97.95]:51571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmA3t-0007SQ-Ci for bug-coreutils@gnu.org; Wed, 05 Nov 2014 18:32:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048; t=1415230342; bh=BhjdLzY3fRSRLklqsWo3gs8V5F36DH/XkHA9Ci+J5JQ=; h=Date:From:To:Subject:From:Subject; b=axv8wGGewk5bKRo6ur2k+HdoKi9mAvGPMXyQVXPgnlcHA6HGZ2n4EyhfpAoL3aMMbtkiLKiQb9DWu7TDIjTcJhyLwtNcOhRled0EkeYtm95naPXAIvUduhaZDvSRDpizNFeCcEuq4O1xJPFKPeublHGFw8Zr3TmLEzgzk48/Yr+w9fFz0Ce3P6V8LZVc9VE5e3lkAj1+kNJOAc2DNvP2ifYLIQAmSJBKZzSc2RzGz+/bbvkF/bcO1K8eKgJpkaiE9YxmqTB+0O07Oz0ARRAHNaxz2AtqvS7YM0OPiunS9lm2pkJqOesQCsl+Vmc3a6NfIQ3OZhLXqxFIRK8/wIvA9Q== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.fr; b=iuaFwlKH63an6bT2oPLjy5b8mH/kp5u1txAI2LUv+WX47mLAJ97ilN2CXSkbmGW6lPxTE9FmknRxrJkTFeZh+5XEfygbOagleCizkuqW3hX5ez77mj0a7MoKenrPE6t8gF386qYySwZ5Jwbiord29C94iM81QSqfkGGeqlZidpHT8Dys4otHT9TYh3g1Y1CBRQAvytAK7ss58aeC/+/bozkd8Yn1chJ9MsBFaEOO0Qj5D2phST/1uDVi1fW6cBYHHG5nMkKdIEr/JVs7T/qC116X1ur+tv0TUL4EZtAj7JhAcxu7nwGveHRa5IX71SvbmQwWrTdI/w3XSGUV9z97QQ==; Received: from [212.82.98.61] by nm31.bullet.mail.ir2.yahoo.com with NNFMP; 05 Nov 2014 23:32:22 -0000 Received: from [46.228.39.72] by tm14.bullet.mail.ir2.yahoo.com with NNFMP; 05 Nov 2014 23:32:22 -0000 Received: from [127.0.0.1] by smtp109.mail.ir2.yahoo.com with NNFMP; 05 Nov 2014 23:32:22 -0000 X-Yahoo-Newman-Id: 886252.64492.bm@smtp109.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: n_0XCvoVM1lnYxDxvrYo111slgBfrKza0.6Q2BdcMLH6wNf pztppM_OLncddaD4gAli1ZuwUdUGeS.BtIQYYpZSku._zypEZj8fV2mDnngJ J43JVB_Gp.5EeXSDUyCD0Zn4jCkoP1XB2WMK9vyxM2Rn2Qh41CW2bqS6Z7Dk Hwx5gaxe0K.MeK6lSU2qqOHdQUQuPSl6qypRFf6FhWDInQRcnQ01nBjBhslM frrutqq8JQkJjdPGw_5aa0n3MspCbJ7MkT2QvCbiyaygw6gZJJjoB0lIecOV mhDgLonFRnys7oDBSGQygekwjVBh2q3wOSlUPIHj8_3dcTdH45ASy2jnDlbC 2ay_3EcFSIknTVR1.AntYMLaw7KYL_3zWD2QeGofQSv_EVM0GCBWhEuM70Pz GUVRWBgpvOHBJx8xdgQlodwSzuEjOyyS_HAiRVaHdx7aMMdbjgmx6_AnJ.Vz 4eP6j2XCGKdZTtzxq_tt1gu.pDOh91CGT5z1ucWHJDov98RJL9MLrPjt.k7T JyZk3w2e6hF0DbSCilEc5klBuWIP5SAwcCh56.RUsVg-- X-Yahoo-SMTP: AVTVxASswBBPZmTpq4E.MZ1KDvGDKZ9N3VoV8yh6 Message-ID: <545AB385.2060006@yahoo.fr> Date: Thu, 06 Nov 2014 00:32:21 +0100 From: philippe User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.8.1 MIME-Version: 1.0 To: bug-coreutils@gnu.org Subject: --block-size option of "du" command gives a wrong value Content-Type: multipart/alternative; boundary="------------050102050905040302010200" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 05 Nov 2014 18:40:08 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) This is a multi-part message in MIME format. --------------050102050905040302010200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Dear sir, I fund the following problem : The --block-size option of "du" gives a wrong value : du -b firmware-7.7.0-amd64-i386-netinst.iso 524288000 firmware-7.7.0-amd64-i386-netinst.iso du --block-size=2048 firmware-7.7.0-amd64-i386-netinst.iso *256002 * firmware-7.7.0-amd64-i386-netinst.iso *256002 *is wrong - the right value is 25600 I didn't find the same problem with the isosize command : isosize firmware-7.7.0-amd64-i386-netinst.iso 524288000 isosize -x firmware-7.7.0-amd64-i386-netinst.iso nombre de secteurs : *256000*, taille de secteur : 204 My configuration : - Linux Asus 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2 x86_64 GNU/Linux - Paquet coreutils : - i 8.13-3.5 Best regards Philippe Bénézech --------------050102050905040302010200 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Dear sir,

I fund the following problem : The --block-size option of "du" gives a wrong value :

du -b firmware-7.7.0-amd64-i386-netinst.iso
524288000    firmware-7.7.0-amd64-i386-netinst.iso

du --block-size=2048 firmware-7.7.0-amd64-i386-netinst.iso
256002    firmware-7.7.0-amd64-i386-netinst.iso

256002 is wrong - the right value is 25600

I didn't find the same problem with the isosize command :

isosize firmware-7.7.0-amd64-i386-netinst.iso
524288000

isosize -x firmware-7.7.0-amd64-i386-netinst.iso
nombre de secteurs : 256000, taille de secteur : 204

My configuration :

- Linux Asus 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2 x86_64 GNU/Linux

- Paquet coreutils :         
- i   8.13-3.5 

Best regards


Philippe Bénézech

--------------050102050905040302010200-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 05 19:20:26 2014 Received: (at 18965) by debbugs.gnu.org; 6 Nov 2014 00:20:26 +0000 Received: from localhost ([127.0.0.1]:50599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmAoM-0000jL-2n for submit@debbugs.gnu.org; Wed, 05 Nov 2014 19:20:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35289) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XmAoJ-0000j0-DF for 18965@debbugs.gnu.org; Wed, 05 Nov 2014 19:20:24 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sA60KLXC026008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 5 Nov 2014 19:20:22 -0500 Received: from [10.36.116.18] (ovpn-116-18.ams2.redhat.com [10.36.116.18]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sA60KJxI007396 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 5 Nov 2014 19:20:21 -0500 Message-ID: <545ABEC3.1070803@draigBrady.com> Date: Thu, 06 Nov 2014 01:20:19 +0100 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: philippe Subject: Re: bug#18965: --block-size option of "du" command gives a wrong value References: <545AB385.2060006@yahoo.fr> In-Reply-To: <545AB385.2060006@yahoo.fr> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 18965 Cc: 18965@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tag 18965 notabug close 18965 stop On 11/06/2014 12:32 AM, philippe wrote: > Dear sir, > > I fund the following problem : The --block-size option of "du" gives a wrong value : > > du -b firmware-7.7.0-amd64-i386-netinst.iso > 524288000 firmware-7.7.0-amd64-i386-netinst.iso > > du --block-size=2048 firmware-7.7.0-amd64-i386-netinst.iso > *256002 * firmware-7.7.0-amd64-i386-netinst.iso > > *256002 *is wrong - the right value is 25600 Perhaps the _usage_ is 4KiB more than the apparent size, to hold selinux or other extended attributes or something? Does this work as you expect? du --apparent-size --block-size=2048 firmware-7.7.0-amd64-i386-netinst.iso Marking as not a bug for now. thanks, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 06 13:18:15 2018 Received: (at control) by debbugs.gnu.org; 6 Nov 2018 18:18:15 +0000 Received: from localhost ([127.0.0.1]:37728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gK5va-0007JZ-Sm for submit@debbugs.gnu.org; Tue, 06 Nov 2018 13:18:15 -0500 Received: from mail-pl1-f171.google.com ([209.85.214.171]:33943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gK5vZ-0007JM-BT for control@debbugs.gnu.org; Tue, 06 Nov 2018 13:18:13 -0500 Received: by mail-pl1-f171.google.com with SMTP id f12-v6so5401341plo.1 for ; Tue, 06 Nov 2018 10:18:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:message-id:date:user-agent:mime-version:content-language :content-transfer-encoding; bh=FSVCjWFQ0UU/zUF7rsRrUhVN0yYDSc0DZEsagzWwxvg=; b=I4Xc3w9XrMTXZm63xwSzjyIkWE1IqQYMiJufNcNyDR3mbGaINOYsvm3cmnhuf3PaGe 1XMEqtlLfTL5qT6vpwHwXLpu1QcxVYjUfKRxbwq64rUTOm0aCNurkF7U/WeWOM5NeTTS 7EvMGTFBefGwXRUDchOnxy1FyqR+DRBbRC3PYdXf5UAOsUO5X1d7uVk5TjkpAhK+/tXH KdN3TQyrqaTUPaIugS8vjwUWyIZkZxHW+Gto0YfoybagNltziY2lzuka9ZHZOfOSSX6h HZVEeqAvjUGgU3jg+35RTrlpHytNTxsqeexv4NM4cNtuZp27nBHVchf7QhDN8Kq4k9ub Ha8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=FSVCjWFQ0UU/zUF7rsRrUhVN0yYDSc0DZEsagzWwxvg=; b=npiPiThLVQuqV59Wd8B0RpkGderbQqzCwcDvllv0e/T3Vv1vaKsgqok6XyS8aLtM0e gbw78sPZGlrqbO2obI7wQPEFOvAGlCcI9r7z666rrKXAN8cPTg/JtJehB1N6Q2lwQaOw kNPgjKAYklpDYigfwcRXax9DRoIjFEVggEOG5rgJWP53lL+rLCfFnixFPFbh3i6tntVF NqH61wAXW1rjvsId5wQzMGuCRkDr6F8dg6JN6jDiG0Z+e0tDxY0BfFuYV1UVw/6OCKyL U9NQBHbTemjh1yoKGtXNEyhbqNrRotqp/QVKmmojpZYCjKMdu9hyvpx2zLl5ItpSPXm+ hZ8Q== X-Gm-Message-State: AGRZ1gIk84Kzc/rszy3frj6o8FfstGrqa11Zj6T9ZVmM9xENn3TzLpri ujJpbBrx4VuO0vbFg8whREXkCxxt X-Google-Smtp-Source: AJdET5f0ORmGKvgwE8E5NfzudY3jQ0eR7FIuv5BlmhyXtd7kGdrzruNdRdWPSID2NNmxI/XdtG3gew== X-Received: by 2002:a17:902:4624:: with SMTP id o33-v6mr27724829pld.285.1541528287191; Tue, 06 Nov 2018 10:18:07 -0800 (PST) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id p15-v6sm65544513pfj.72.2018.11.06.10.18.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 10:18:06 -0800 (PST) To: control@debbugs.gnu.org From: Assaf Gordon Message-ID: Date: Tue, 6 Nov 2018 11:18:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tag 18965 notabug close 18965 stop [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.214.171 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (assafgordon[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) tag 18965 notabug close 18965 stop From unknown Sat Aug 16 18:32:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 05 Dec 2018 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator