From owner-cvs-src@FreeBSD.ORG Mon Mar 1 07:10:16 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 C529816A4CE; Mon, 1 Mar 2004 07:10:16 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEA0A43D39; Mon, 1 Mar 2004 07:10:15 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i21FAE4M058675; Mon, 1 Mar 2004 16:10:14 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Colin Percival From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 01 Mar 2004 15:06:05 GMT." <6.0.1.1.1.20040301150348.0386a6a8@imap.sfu.ca> Date: Mon, 01 Mar 2004 16:10:14 +0100 Message-ID: <58674.1078153814@critter.freebsd.dk> cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Colin Percival cc: Bruce Evans 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 15:10:16 -0000 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 :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.