Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2001 11:59:43 +0200
From:      Adrian Chadd <adrian@FreeBSD.ORG>
To:        Boris Popov <bp@butya.kz>
Cc:        Peter Pentchev <roam@orbitel.bg>, Bruce Evans <bde@zeta.org.au>, Dima Dorfman <dima@unixfreak.org>, Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>, freebsd-hackers@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG
Subject:   Re: Displaying options for current NFS mounts
Message-ID:  <20010326115942.A48621@roaming.cacheboy.net>
In-Reply-To: <Pine.BSF.4.21.0103251746060.76801-100000@lion.butya.kz>; from bp@butya.kz on Sun, Mar 25, 2001 at 05:49:14PM %2B0700
References:  <20010325113649.D36335@ringworld.oblivion.bg> <Pine.BSF.4.21.0103251746060.76801-100000@lion.butya.kz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 25, 2001, Boris Popov wrote:
> On Sun, 25 Mar 2001, Peter Pentchev wrote:
> 
> > <bikeshed type=question value="mostly stupid">
> > Or could mount(8) invoke a couple of sysctl's to get a string representation
> > of each mountpoint's mount options?
> > </bikeshed>
> 
> 	This is not a bikeshed, but sysctl is the wrong interface to do
> this. Use VFSs/VOPs instead. This isn't a big problem with passing string
> from kernel to userland.

.. (god knows when this'll get through, as I'm writing this email
whilst waiting for a flight at Heathrow Airport..)

I've been considering mapping the mount options into a string and
having that passed down into VFS_MOUNT.

However, the real solution right now is to make mount_$FSTYPE -p work.
Then mount can just wrap mount_$FSTYPE, just like fsck / fsck_$FSTYPE
does.

The only thing preventing me from doing it right now is the lack of
Copious Free Time(tm) :)

-- 
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-hackers" in the body of the message




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