From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 19 14:26:44 2011 Received: (at submit) by debbugs.gnu.org; 19 Mar 2011 18:26:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q10rM-0004xz-JT for submit@debbugs.gnu.org; Sat, 19 Mar 2011 14:26:44 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q10qv-0004x8-Hu for submit@debbugs.gnu.org; Sat, 19 Mar 2011 14:26:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q10qp-0007iJ-Cx for submit@debbugs.gnu.org; Sat, 19 Mar 2011 14:26:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:43294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q10qp-0007iF-B6 for submit@debbugs.gnu.org; Sat, 19 Mar 2011 14:26:11 -0400 Received: from [140.186.70.92] (port=51638 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q10qo-0001N2-Bp for bug-coreutils@gnu.org; Sat, 19 Mar 2011 14:26:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q10qn-0007hx-84 for bug-coreutils@gnu.org; Sat, 19 Mar 2011 14:26:10 -0400 Received: from beau.lib.la.us ([69.63.169.4]:55807 helo=library.beau.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q10qn-0007hD-2B for bug-coreutils@gnu.org; Sat, 19 Mar 2011 14:26:09 -0400 Received: from [192.168.201.5] (adsl-065-005-236-009.sip.lft.bellsouth.net [65.5.236.9]) (authenticated bits=0) by library.beau.org (8.12.11.20060308/8.12.11) with ESMTP id p2JIQ4cr024388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 19 Mar 2011 13:26:06 -0500 Subject: Minor nit with dd From: John Morris To: bug-coreutils@gnu.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-A4ON5RIftqbqWhvWB8Q8" Organization: Beauregard Parish Library Date: Sat, 19 Mar 2011 13:26:04 -0500 Message-ID: <1300559164.5352.9.camel@mjolnir> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 19 Mar 2011 14:26:43 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) --=-A4ON5RIftqbqWhvWB8Q8 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Found an odd power of two size limit in dd. :) On a 64bit platform shouldn't the following command have done the expected thing instead of quietly clipping to 2^31? [jmorris@mjolnir ~]$ dd if=3D/dev/zero of=3D/dev/null bs=3D3221225472 count= =3D1 0+1 records in 0+1 records out 2147479552 bytes (2.1 GB) copied, 1.94223 s, 1.1 GB/s [jmorris@mjolnir ~]$ rpm -qf `which dd` coreutils-7.6-11.fc12.x86_64 --=-A4ON5RIftqbqWhvWB8Q8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk2E9SwACgkQqME6bvnsqA+GRgCdE81Pj5Qoaw/Dn1XfTNuK576K KKQAniJyHZuKSICdgsVAXGGAiHLl/HkT =S041 -----END PGP SIGNATURE----- --=-A4ON5RIftqbqWhvWB8Q8-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 19 22:03:56 2011 Received: (at 8294) by debbugs.gnu.org; 20 Mar 2011 02:03:57 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q17zo-0006Od-I1 for submit@debbugs.gnu.org; Sat, 19 Mar 2011 22:03:56 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q17zn-0006OS-0n for 8294@debbugs.gnu.org; Sat, 19 Mar 2011 22:03:55 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 870BD39E8116; Sat, 19 Mar 2011 19:03:49 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ULTaPZvi7cUE; Sat, 19 Mar 2011 19:03:49 -0700 (PDT) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 1B04739E80DB; Sat, 19 Mar 2011 19:03:49 -0700 (PDT) Message-ID: <4D856084.9010002@cs.ucla.edu> Date: Sat, 19 Mar 2011 19:03:48 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 MIME-Version: 1.0 To: John Morris Subject: Re: bug#8294: Minor nit with dd References: <1300559164.5352.9.camel@mjolnir> In-Reply-To: <1300559164.5352.9.camel@mjolnir> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 8294 Cc: 8294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On 03/19/2011 11:26 AM, John Morris wrote: > On a 64bit platform shouldn't the following command have done the > expected thing instead of quietly clipping to 231? It depends on what your platform's 64-bit 'read' system call does. My guess is that your platform's 'read' syscall refuses to read more than 2**31 - 2**12 bytes at a time from /dev/zero, so the problem (if any :-) is with 'read', not with 'dd'. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 17 03:06:01 2011 Received: (at 8294) by debbugs.gnu.org; 17 Apr 2011 07:06:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBM3U-0005Vs-VI for submit@debbugs.gnu.org; Sun, 17 Apr 2011 03:06:01 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QBM3T-0005Vg-97 for 8294@debbugs.gnu.org; Sun, 17 Apr 2011 03:06:00 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 6E6A160110; Sun, 17 Apr 2011 09:05:52 +0200 (CEST) From: Jim Meyering To: Paul Eggert Subject: Re: bug#8294: Minor nit with dd In-Reply-To: <4D856084.9010002@cs.ucla.edu> (Paul Eggert's message of "Sat, 19 Mar 2011 19:03:48 -0700") References: <1300559164.5352.9.camel@mjolnir> <4D856084.9010002@cs.ucla.edu> Date: Sun, 17 Apr 2011 09:05:52 +0200 Message-ID: <87d3klfjcf.fsf@rho.meyering.net> Lines: 24 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: 8294 Cc: John Morris , 8294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) tags 8294 moreinfo close 8294 thanks Paul Eggert wrote: > On 03/19/2011 11:26 AM, John Morris wrote: >> On a 64bit platform shouldn't the following command have done the >> expected thing instead of quietly clipping to 231? > > It depends on what your platform's 64-bit 'read' > system call does. My guess is that your platform's > 'read' syscall refuses to read more than > 2**31 - 2**12 bytes at a time from /dev/zero, > so the problem (if any :-) is with 'read', not > with 'dd'. Thanks for replying, Paul. John, If the read system call were failing and dd were ignoring that failure, that would be a bug. However, dd is careful to check for that sort of thing. Here, read is returning after readling less than a full block, and that's fine. It's a so-called short read. If you want dd to accumulate full blocks, use GNU dd's iflag=fullblock option. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 30 04:26:35 2012 Received: (at control) by debbugs.gnu.org; 30 Aug 2012 08:26:35 +0000 Received: from localhost ([127.0.0.1]:57081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T705B-0006Ev-9W for submit@debbugs.gnu.org; Thu, 30 Aug 2012 04:26:34 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:49878) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T7058-0006Em-DT for control@debbugs.gnu.org; Thu, 30 Aug 2012 04:26:31 -0400 Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 3736A20E44 for ; Thu, 30 Aug 2012 04:25:21 -0400 (EDT) Received: from web5.nyi.mail.srv.osa ([10.202.2.215]) by compute5.internal (MEProxy); Thu, 30 Aug 2012 04:25:21 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date; s=smtpout; bh=yUfJ133wNLWaQHb3TYv5eEzNLWg=; b=j7sht89VPoQ6n8cpm1RMl2G9jUfv pyYxPKkUJYRA2EhWATPUZkMDzmXVaYraeUOnp4iT/Gkm19pn1GV9/9WBYMVnH5em dtt9dHA2MbMQNi6dQGY96zzg7+8L4/TWcuBS/fCNpVHzh8/uSJYntoGdubhVMq/r 09JnsDnZj5MukA4= Received: by web5.nyi.mail.srv.osa (Postfix, from userid 99) id DE71E4C0212; Thu, 30 Aug 2012 04:25:20 -0400 (EDT) Message-Id: <1346315120.10703.140661121426477.2AFE53D5@webmail.messagingengine.com> X-Sasl-Enc: 4nXWxMLkgjDvdikikEcOj9pbHgqp6intQUQ9wPX89h/O 1346315120 From: era eriksson To: control@debbugs.gnu.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface Subject: Still more bug maintenance Date: Thu, 30 Aug 2012 11:25:20 +0300 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) tags 6970 + moreinfo tags 7000 + notabug tags 7731 + moreinfo tags 8294 + moreinfo close 8294 tags 10136 + notabug close 10136 tags 10456 + moreinfo tags 10799 + moreinfo tags 10900 + moreinfo tags 11316 + moreinfo tags 11696 + notabug close 11696 tags 11949 + moreinfo thanks /* era */ -- If this were a real .signature, it would suck less. Well, maybe not. From unknown Sun Aug 10 16:47:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 27 Sep 2012 11:24:03 +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