From owner-freebsd-current Sun Mar 11 12:19:40 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 5B1FC37B718 for ; Sun, 11 Mar 2001 12:19:37 -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 MAA31364; Sun, 11 Mar 2001 12:19:27 -0800 Date: Sun, 11 Mar 2001 12:19:24 -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? 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 On Sun, 11 Mar 2001, Alfred Perlstein wrote: > * Poul-Henning Kamp [010311 12:02] wrote: > > In message , Matthew Jacob writes: > > > > > >> Lastly make_dev_alias() is undocumented. > > > > Right, just like most of the rest of the kernel. > > > > >Really? That's a deficiency. It should be. > > > > Yes, ideally, yes. I've updated the man page. > > The problem with make_dev_alias() not being documented is that it would > have been an effort to figure out if duplicate make_dev_alias() calls > were idempotent, done with refcounts or a good way to panic your > machine. ...I'm not following this. Too many dime or more expensive words! What you at? > > There's also no destroy_dev_alias() that I can see. So when vinum > goes away I didn't realize how one unpopulates the /dev/vinum/ tree. The destroy_dev destroys all aliases. > > What's up with devfs not gc'ing itself? Ie, after a directory > becomes empty it seems to still exist within the devfs namespace > instead of disappearing. > > 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; > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message