Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jul 2004 13:48:32 -0600
From:      Scott Long <scottl@freebsd.org>
To:        Alfred Perlstein <alfred@freebsd.org>
Cc:        fs@freebsd.org
Subject:   Re: tweaking mounted filesystems by fsid
Message-ID:  <40E70D90.4090304@freebsd.org>
In-Reply-To: <20040702184020.GC95729@elvis.mu.org>
References:  <20040702184020.GC95729@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote:
> Hi.
> 
> The last year or so I spent bringing file system improvements into
> OS X.
> 
> The mechanism I used to tweak filesystems was sysctl.
> 
> I created a node that would route a request to a filesystem based
> on a fsid.  This would allow tweaking of filesystems without entering
> the namespace.
> 
> I realize we have the nmount syscall.  I have several questions
> about it.
> 
> 1) can I muck with it so that it functions like unmount(2) by
> taking the "FSID:val0:val1" parameter in order to properly
> route requests?
> 
> 2) what if i want to pass binary data?  I can do that right?
> I assume by just passing the binary gook via the value of the
> key value pair.
> 
> Any comments?
> 
> On of the issues I have is that I need the call to be callable
> from both inside and outside of the kernel, I'm guessing this can
> be taken care of by the internal options...
> 
> Ideas people?
> 
> Use nmount or sysctl?
> 

Can't comment on your main questions, but there has been talk about
removing nmount since the work was never finished and the benefits
never realized.  If you'd like to breath some life into it, feel free.

Scott



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