From owner-freebsd-current Mon Jun 18 1:22:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 11C6637B403 for ; Mon, 18 Jun 2001 01:22:41 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.22 #1) id 15BuIU-000JDr-00; Mon, 18 Jun 2001 10:22:10 +0200 From: Sheldon Hearn To: Dima Dorfman Cc: Poul-Henning Kamp , Jens Schweikhardt , FreeBSD current Subject: Re: mdconfig/umount Fatal trap 12 In-reply-to: Your message of "Sun, 17 Jun 2001 11:46:57 MST." <20010617184657.1503D3E0B@bazooka.unixfreak.org> Date: Mon, 18 Jun 2001 10:22:10 +0200 Message-ID: <73894.992852530@axl.seasidesoftware.co.za> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message