Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 08:59:21 +0100
From:      Adrian Chadd <adrian@freebsd.org>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: mount options
Message-ID:  <20010124085920.A2795@roaming.cacheboy.net>
In-Reply-To: <200101240047.RAA05442@usr08.primenet.com>; from tlambert@primenet.com on Wed, Jan 24, 2001 at 12:47:25AM %2B0000
References:  <20010123130628.A77423@hub.freebsd.org> <200101240047.RAA05442@usr08.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
<adrian@freebsd.org>		   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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010124085920.A2795>