From owner-freebsd-current Sat Feb 3 16:53: 9 2001 Delivered-To: freebsd-current@freebsd.org Received: from iip-lab.ics.es.osaka-u.ac.jp (inoueke-n.ics.es.osaka-u.ac.jp [133.1.240.231]) by hub.freebsd.org (Postfix) with ESMTP id C34E037B4EC; Sat, 3 Feb 2001 16:52:51 -0800 (PST) Received: from localhost (kir.ics.es.osaka-u.ac.jp [133.1.12.129]) by iip-lab.ics.es.osaka-u.ac.jp (8.11.1/3.7W/INO-1.0v9-IIP-LAB) with ESMTP id f140qn448149; Sun, 4 Feb 2001 09:52:49 +0900 (JST) Cc: phk@FreeBSD.ORG, current@FreeBSD.ORG X-Newsgroups: freebsd.current Distribution: freebsd In-Reply-To: References: <20010204082409C.matusita@jp.FreeBSD.org> X-User-Agent: Mew/1.94.2 XEmacs/21.2 (Poseidon) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Organization: Dept. of Information & Computer Sciences, Osaka Univ., JAPAN X-Dispatcher: imput version 20000228(IM140) Lines: 24 From: Makoto MATSUSHITA To: jhb@FreeBSD.ORG Subject: RE: doFS.sh should obey MDDEVICE if available Date: 04 Feb 2001 09:52:41 +0900 Message-Id: <20010204095241U.matusita@ics.es.osaka-u.ac.jp> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb> The current method always finds an unused device to use, so the jhb> old VNDEVICE-style hack is no longer needed. There's no point to jhb> setting an explicit device to use. But I want to ensure that all used md(4) devices is unconfigured after it is used. Imagine you run 'make release' for your own release. If something is trouble in doFS.sh ('kernel size exceeds 1.44MB floppy size' is a typical example), make will exit without umounting /mnt and unconfigureing /dev/mdX, where X is dynamically allocated (and no way to know what X is outside of doFS.sh). If I can say 'doFS.sh, your md device number is X', it's obviously easy to umount /mnt and unconfigure md devices after the script runs. My mother tolds me that I should put away my toys after I play with them, so I want to do a sure way to unconfigure md device. BTW, how many md devices can we configure at the same time? What's happen if a file of md's backing store is removed? -- - Makoto MATSUSHITA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message