From owner-cvs-src@FreeBSD.ORG Mon Mar 1 08:18:34 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 239E616A4CE; Mon, 1 Mar 2004 08:18:34 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2CE843D3F; Mon, 1 Mar 2004 08:18:33 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.10/8.12.10) with ESMTP id i21GIXOJ004736; Mon, 1 Mar 2004 08:18:33 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.11/8.12.11/Submit) id i21GIWuD004735; Mon, 1 Mar 2004 08:18:32 -0800 (PST) (envelope-from obrien) Date: Mon, 1 Mar 2004 08:18:32 -0800 From: "David O'Brien" To: Colin Percival , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20040301161832.GA4687@dragon.nuxi.com> References: <6.0.1.1.1.20040301150348.0386a6a8@imap.sfu.ca> <58674.1078153814@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58674.1078153814@critter.freebsd.dk> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Subject: Re: cvs commit: src/sys/dev/md md.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org 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 16:18:34 -0000 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)