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

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue Jan 08 2002 - 22:47:28 EST


Richard Gooch wrote:

>>>
>>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.
>

Yes, after quite a few years it finally got in there. This is a Good
Thing[TM]. Now apply the same problem to /proc.

        -hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jan 15 2002 - 21:00:25 EST