From owner-freebsd-arch Tue Jan 23 23:59:56 2001 Delivered-To: freebsd-arch@freebsd.org Received: from roaming.cacheboy.net (roaming.cacheboy.net [203.56.168.69]) by hub.freebsd.org (Postfix) with ESMTP id 4D32F37B404 for ; Tue, 23 Jan 2001 23:59:38 -0800 (PST) Received: (from adrian@localhost) by roaming.cacheboy.net (8.11.1/8.11.1) id f0O7xLY02842; Wed, 24 Jan 2001 08:59:21 +0100 (CET) (envelope-from adrian) Date: Wed, 24 Jan 2001 08:59:21 +0100 From: Adrian Chadd To: Terry Lambert Cc: freebsd-arch@freebsd.org Subject: Re: mount options Message-ID: <20010124085920.A2795@roaming.cacheboy.net> References: <20010123130628.A77423@hub.freebsd.org> <200101240047.RAA05442@usr08.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101240047.RAA05442@usr08.primenet.com>; from tlambert@primenet.com on Wed, Jan 24, 2001 at 12:47:25AM +0000 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 24, 2001, Terry Lambert wrote: [snip] I'll reply to this snippet now, and the rest later today.. > > For an FS porting project I'm doing, the mount interface needs > > to be able to export the mount options back out to userspace, > > and I'd like to tidy the code up instead of just fudge it for > > my needs. > > The bitmap would be ideal for this. The only arguments which > would not fall into this are the "what you are mounting" and > the "where you are mounting it" arguments, which will have to > be handled seperately, in any case. The trouble is that the mount options aren't always going to be flags which are on or off. They *could* be say, a log device for seperate FS logging. This doesn't fit inside a bitmap, and I'd have to have to hack together a seperate sysctl or something just to get information for this particular FS. Adrian -- Adrian Chadd "Programming is like sex: One mistake and you have to support for a lifetime." -- rec.humor.funny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message