From owner-freebsd-current Mon Jun 18 2:23:53 2001 Delivered-To: freebsd-current@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id B48AE37B403 for ; Mon, 18 Jun 2001 02:23:50 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.3/8.11.3) with ESMTP id f5I8sUr80622; Mon, 18 Jun 2001 10:54:30 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Sheldon Hearn Cc: Dima Dorfman , Jens Schweikhardt , FreeBSD current Subject: Re: mdconfig/umount Fatal trap 12 In-Reply-To: Your message of "Mon, 18 Jun 2001 10:22:10 +0200." <73894.992852530@axl.seasidesoftware.co.za> Date: Mon, 18 Jun 2001 10:54:30 +0200 Message-ID: <80620.992854470@critter> From: Poul-Henning Kamp 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 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 > 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