Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2001 12:21:00 -0800 (PST)
From:      Matthew Jacob <mjacob@feral.com>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Poul-Henning Kamp <phk@critter.freebsd.dk>, Dag-Erling Smorgrav <des@ofug.org>, "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>, current@FreeBSD.ORG, Greg Lehey <grog@lemis.com>
Subject:   Re: how's vinum these days with DEVFS (second part)
Message-ID:  <Pine.LNX.4.21.0103111219440.29879-100000@zeppo.feral.com>
In-Reply-To: <20010311121337.J18351@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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




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