From owner-cvs-all Mon Aug 27 7:14:14 2001 Delivered-To: cvs-all@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id BDDBC37B407 for ; Mon, 27 Aug 2001 07:14:06 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 55073 invoked from network); 27 Aug 2001 14:14:06 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 27 Aug 2001 14:14:06 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010827133317.4CFF83E31@bazooka.unixfreak.org> Date: Mon, 27 Aug 2001 07:14:13 -0700 (PDT) From: John Baldwin To: Dima Dorfman Subject: Re: cvs commit: src/sys/dev/md md.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Maxim Sobolev Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 27-Aug-01 Dima Dorfman wrote: > Maxim Sobolev wrote: >> sobomax 2001/08/27 06:25:48 PDT >> >> Modified files: >> sys/dev/md md.c >> Log: >> - On module unload try to detach all configured disks and let unload >> proceed >> if all disks were detached sucessfully; > > I'm not sure this is wise. More likely than not, trying to unload md > while there are still disks attached is a mistake on the user's part, > especially considering that most people aren't going to be loading and > unloading it on a regular basis. I understand why this may be useful > for a developer working on md, but it seems counter-intuitive from a > regular user's perspective. Yeah, I'd rather get an error (You're still using this stupid! *bonk*) like EBUSY or some such rather than have it do magical things for me behind my back. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message