tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: per-mount maxvnodes

On Thu, Jun 07, 2012 at 11:09:26AM -0400, Mouse wrote:
> > Therefore comes the idea to have a per-mount maxvnodes.
> > I tried implementing it, the biggest problem is how to set the value.
> sysctl kern./usr/local.maxvnodes?
> It's a little ambiguous, in that it's possible - or at least it was
> last time I tried it - to have multiple mounts with the same mounted-on
> string.  But that's definitely an unusual case, and I see nothing wrong
> with accessing the topmost mount in that case; that's what normal
> filesystem accesses will do, after all.

No, I think this should be a mount option. Maybe it's time to revisit the
mount(2) interface (proplist anyone ? :)

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index