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:
<[EMAIL PROTECTED]> One mistake and you have to support for
a lifetime." -- rec.humor.funny
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message