From owner-cvs-src@FreeBSD.ORG Mon Mar 1 09:40:14 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FAA416A4CE for ; Mon, 1 Mar 2004 09:40:14 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 2676643D5D for ; Mon, 1 Mar 2004 09:40:13 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 6846 invoked by uid 1000); 1 Mar 2004 17:40:14 -0000 Date: Mon, 1 Mar 2004 09:40:14 -0800 (PST) From: Nate Lawson To: Poul-Henning Kamp In-Reply-To: <58674.1078153814@critter.freebsd.dk> Message-ID: <20040301093940.T6760@root.org> References: <58674.1078153814@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Colin Percival Subject: Re: cvs commit: src/sys/dev/md md.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2004 17:40:14 -0000 On Mon, 1 Mar 2004, Poul-Henning Kamp wrote: > In message <6.0.1.1.1.20040301150348.0386a6a8@imap.sfu.ca>, Colin Percival writes: > >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.) > > And I'm talking about dd(1) being used for such arcane things that changing > the defaults is an absolute NO! thing :-) What phk means is "please change the command line flags to be less of a joke." ;-) -Nate