From owner-cvs-all@FreeBSD.ORG Mon Mar 1 07:07:29 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D724B16A4D1 for ; Mon, 1 Mar 2004 07:07:28 -0800 (PST) Received: from tx3.oucs.ox.ac.uk (tx3.oucs.ox.ac.uk [163.1.2.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id A950E43D41 for ; Mon, 1 Mar 2004 07:07:28 -0800 (PST) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from scan3.oucs.ox.ac.uk ([163.1.2.166] helo=localhost) by tx3.oucs.ox.ac.uk with esmtp (Exim 4.24) id 1Axp0x-0005Wk-PC for cvs-all@FreeBSD.org; Mon, 01 Mar 2004 15:07:27 +0000 Received: from rx3.oucs.ox.ac.uk ([163.1.2.165]) by localhost (scan3.oucs.ox.ac.uk [163.1.2.166]) (amavisd-new, port 25) with ESMTP id 21039-05 for ; Mon, 1 Mar 2004 15:07:27 +0000 (GMT) Received: from gateway.wadham.ox.ac.uk ([163.1.161.253]) by rx3.oucs.ox.ac.uk with smtp (Exim 4.24) id 1Axp0x-0005Wa-BV for cvs-all@FreeBSD.org; Mon, 01 Mar 2004 15:07:27 +0000 Received: (qmail 3324 invoked by uid 0); 1 Mar 2004 15:07:27 -0000 Received: from colin.percival@wadham.ox.ac.uk by gateway by uid 71 with qmail-scanner-1.16 (sweep: 2.14/3.71. spamassassin: 2.53. Clear:. Processed in 1.702999 secs); 01 Mar 2004 15:07:27 -0000 X-Qmail-Scanner-Mail-From: colin.percival@wadham.ox.ac.uk via gateway X-Qmail-Scanner: 1.16 (Clear:. Processed in 1.702999 secs) Received: from dhcp1131.wadham.ox.ac.uk (HELO piii600.wadham.ox.ac.uk) (163.1.161.131) by gateway.wadham.ox.ac.uk with SMTP; 1 Mar 2004 15:07:25 -0000 Message-Id: <6.0.1.1.1.20040301150348.0386a6a8@imap.sfu.ca> X-Sender: cperciva@imap.sfu.ca (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Mon, 01 Mar 2004 15:06:05 +0000 To: "Poul-Henning Kamp" From: Colin Percival In-Reply-To: <58541.1078153347@critter.freebsd.dk> References: <58541.1078153347@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: src-committers@FreeBSD.org cc: Bruce Evans cc: cvs-src@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Colin Percival cc: Colin Percival Subject: Re: cvs commit: src/sys/dev/md md.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 15:07:29 -0000 At 15:02 01/03/2004, Poul-Henning Kamp wrote: >In message <6.0.1.1.1.20040301145406.038ede88@imap.sfu.ca>, Colin Percival >writes: > > Ideally, dd should look at what it's being asked to access, and get > >a default block size from that. (Yes, there are much worse offenders, > >dd just happened to be the first problem which came to mind.) > >No, dd(1) should do _exactly_ what we ask it to, with absolutely no DWIM >logic. Note that I said "default block size". I'm not talking about overriding command-line options, I'm talking about making "dd if=/dev/foo of=/dev/bar" work if the foo or bar devices have >512 byte sectors. (But this is mostly irrelevant now anyway.) Colin Percival