From owner-freebsd-current Sun Mar 11 12:21:35 2001 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 2A53637B718 for ; Sun, 11 Mar 2001 12:21:32 -0800 (PST) (envelope-from mjacob@feral.com) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id MAA31374; Sun, 11 Mar 2001 12:21:03 -0800 Date: Sun, 11 Mar 2001 12:21:00 -0800 (PST) From: Matthew Jacob Reply-To: mjacob@feral.com To: Alfred Perlstein Cc: Poul-Henning Kamp , Dag-Erling Smorgrav , "Niels Chr. Bank-Pedersen" , current@FreeBSD.ORG, Greg Lehey Subject: Re: how's vinum these days with DEVFS (second part) In-Reply-To: <20010311121337.J18351@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Since you guys are in docco mode, you might as well document how one > detects a devfs system in a running system. There's an example > in the vinum(8) source: > > if (sysctlbyname("vfs.devfs.generation", NULL, NULL, NULL, 0) == 0) > devfs_is_active = 1; > else > devfs_is_active = 0; Why should you care? You should be calling make_dev/make_dev_alias/destroy_dev whether DEVFS is running or not. Why on earth would you want things to be different? Is it because you see DEVFS as not offering something you can get w/o it or what???? -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message