cvs commit: src/sys/dev/md md.c

Colin Percival colin.percival at wadham.ox.ac.uk
Mon Mar 1 07:07:28 PST 2004


At 15:02 01/03/2004, Poul-Henning Kamp wrote:
>In message <6.0.1.1.1.20040301145406.038ede88 at 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




More information about the cvs-src mailing list