Subject: Re: CVS commit: src/sys/fs/tmpfs
To: Elad Efrat <elad@netbsd.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: source-changes
Date: 11/05/2006 23:07:28
On 11/5/06, Elad Efrat <elad@netbsd.org> wrote:
> Julio M. Merino Vidal wrote:
> > Module Name: src
> > Committed By: jmmv
> > Date: Sun Nov 5 19:40:31 UTC 2006
> >
> > Modified Files:
> > src/sys/fs/tmpfs: tmpfs_subr.c
> >
> > Log Message:
> > Randomly initialize the node's generation to make file handles less
> > predictable. This solves a problem that may appear when serving a tmpfs
> > over NFS: if the server reboots, newly allocated files should have
> > different file handles; otherwise the remote clients could access files
> > they were not supposed to touch.
>
> can you please provide a way to disable this, say with a sysctl knob?
Why?
--
Julio M. Merino Vidal <jmmv84@gmail.com>
The Julipedia - http://julipedia.blogspot.com/