Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2004 08:18:32 -0800
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Colin Percival <colin.percival@wadham.ox.ac.uk>, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/md md.c
Message-ID:  <20040301161832.GA4687@dragon.nuxi.com>
In-Reply-To: <58674.1078153814@critter.freebsd.dk>
References:  <6.0.1.1.1.20040301150348.0386a6a8@imap.sfu.ca> <58674.1078153814@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 01, 2004 at 04:10:14PM +0100, 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 :-)

Agreed -- we all know that 'bs' defaults to 512.  Please don't make it
ever use != 512 w/o specifing 'bs'.

-- 
-- David  (obrien@FreeBSD.org)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040301161832.GA4687>