Re: [PATCH] DevFS support for /dev/cpu/X/(cpuid|msr)

Richard Gooch
2002-01-09T03:30:25Z

H. Peter Anvin writes:
> By author: Rusty Russell <rusty@rustcorp.com.au>
> > Incorrect. See my new /proc/sys implementation patch. It's hidden in the
> > flames somewhere...
> >
>
> So you chown an entry, then a module is unloaded and reloaded, now
> what happens?
>
> It's the old "virtual filesystem which really wants persistence"
> issue again...

Works beautifully with devfs+devfsd :-)

Permissions get saved elsewhere in the namespace (perhaps even to the
underlying /dev) as you chown(2)/chmod(2)/mknod(2), and are restored
when entries are (re)created and/or at startup.

My /dev has persistence behaviour which looks like a FS with backing
store.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca