From owner-cvs-all Mon Aug 27 7:48: 7 2001 Delivered-To: cvs-all@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 5100337B403; Mon, 27 Aug 2001 07:47:54 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-b006.otenet.gr [195.167.121.134]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f7RElk313461; Mon, 27 Aug 2001 17:47:46 +0300 (EEST) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.4) id f7REhEG02300; Mon, 27 Aug 2001 17:43:14 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 27 Aug 2001 17:43:14 +0300 From: Giorgos Keramidas To: Dima Dorfman Cc: Maxim Sobolev , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/md md.c Message-ID: <20010827174314.C2081@hades.hell.gr> References: <200108271325.f7RDPmb31236@freefall.freebsd.org> <20010827133317.4CFF83E31@bazooka.unixfreak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010827133317.4CFF83E31@bazooka.unixfreak.org>; from dima@unixfreak.org on Mon, Aug 27, 2001 at 06:33:12AM -0700 X-PGP-Fingerprint: 3A 75 52 EB F1 58 56 0D - C5 B8 21 B6 1B 5E 4A C2 X-URL: http://students.ceid.upatras.gr/~keramida/index.html 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 From: Dima Dorfman Subject: Re: cvs commit: src/sys/dev/md md.c Date: Mon, Aug 27, 2001 at 06:33:12AM -0700 > 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. > > Just my opinion, of course. This is similar to not having the acd driver close the tray door if the user requests a mount, when the door is open. It think that having things 'happen' behind the user's back is not good. An error, of "you are still using this thing" would be much better. But this is only my humble opinion. -giorgos To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message