Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2001 10:54:30 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        Dima Dorfman <dima@unixfreak.org>, Jens Schweikhardt <schweikh@schweikhardt.net>, FreeBSD current <freebsd-current@FreeBSD.ORG>
Subject:   Re: mdconfig/umount Fatal trap 12 
Message-ID:  <80620.992854470@critter>
In-Reply-To: Your message of "Mon, 18 Jun 2001 10:22:10 %2B0200." <73894.992852530@axl.seasidesoftware.co.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <73894.992852530@axl.seasidesoftware.co.za>, Sheldon Hearn writes:
>
>
>On Sun, 17 Jun 2001 11:46:57 MST, Dima Dorfman wrote:
>
>> > If people think this is too much of a panic(8) implementation we
>> > can hide this behaviour behind a -JUSTDOIT! option.
>> 
>> This is easy to do; just add an -f option to mdconfig (which can be
>> converted into an MD_FORCE flag or something) which means "bypass as
>> many sanity checks as possible".  I'll do the work if it's desired.
>
>Yuk.  Can't we just keep consistency, so that this happens:
>
>	$ umount /dev/md0
>	umount: unmount of /dev/md0 failed: Device busy
>	$ umount -f /dev/md0
>	<panic>

Please check your details before replying.  It is not mount
which should yell, it is "mdconfig -d".

Besides "-f" is already a "-file" option to mdconfig, so a better
option letter needs to be found.

-- 
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.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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