Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2001 07:14:13 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Dima Dorfman <dima@unixfreak.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Maxim Sobolev <sobomax@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/dev/md md.c
Message-ID:  <XFMail.010827071413.jhb@FreeBSD.org>
In-Reply-To: <20010827133317.4CFF83E31@bazooka.unixfreak.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 27-Aug-01 Dima Dorfman wrote:
> Maxim Sobolev <sobomax@FreeBSD.org> 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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010827071413.jhb>