From owner-freebsd-bugs Thu May 10 10:50: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D2AA237B422 for ; Thu, 10 May 2001 10:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4AHo2a30678; Thu, 10 May 2001 10:50:02 -0700 (PDT) (envelope-from gnats) Date: Thu, 10 May 2001 10:50:02 -0700 (PDT) Message-Id: <200105101750.f4AHo2a30678@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Jim Pirzyk Subject: Re: bin/27240: df does not support '-l' option Reply-To: Jim Pirzyk Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/27240; it has been noted by GNATS. From: Jim Pirzyk To: Garrett Wollman , Jim.Pirzyk@disney.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/27240: df does not support '-l' option Date: Thu, 10 May 2001 10:40:22 -0700 Ok, so I have a question. How do I get vfsconf from the kernel? I can get maxvfsconf from there via the sysctl CTL_VFS, VFS_GENERIC, VFS_MAXTYPENUM. - JimP On Thursday 10 May 2001 07:50 am, Garrett Wollman wrote: > < > + case 'l': > > + if (vfslist != NULL) > > + errx(1, "-l and -t are mutally exclusive."); > > + vfslist = makevfslist("nonfs"); > > + break; > > Actually, that's not the right way to implement this function. The > correct way would be to scan the list of available filesystem types > and look for ones without the VFCF_NETWORK flag. > > -GAWollman -- --- @(#) $Id: dot.signature,v 1.9 2000/07/10 16:43:05 pirzyk Exp $ __o Jim.Pirzyk@disney.com ------------------------------------- _'\<,_ Senior Systems Engineer, Walt Disney Feature Animation (*)/ (*) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message