Source-Changes archive

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

Re: CVS commit: src/sys/fs/tmpfs



On Sun, Nov 05, 2006 at 10:04:43PM +0200, Elad Efrat wrote:
> > 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?  Even without the generation number randomisation to avoid
accidental collisions, there is no way for a program to depend upon
any kind of stability of inode numbers across reboots.  

For what purpose would you wish to use such a knob?

--
Dan.

Attachment: pgp_ePvzR9W0j.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index