On Thu, 13 Apr 2000, Linus Torvalds wrote:
> In short, what's wrong with running one more script on reboot and
> shutdown, if it means that the filesystem magically becomes much less
> involved.
>
> Permissions can (and obviously in my opinion, should) be handled by a
> user-space agent. The kernel uses some default permissions in the absense
> of any other knowledge, but this is not all that dis-similar from what
> /proc does in the end.
>
> You're arguing for removing devfs, so you _like_ to make it sound like
> there is no solution. I'm telling you that you're wrong.
Umm... Linus, it's slightly more complex. Look:
we do lookup on /dev/foo
module gets loaded
...
we do chmod
we stop using the device
...
rmmod takes the module away
dentry and inode of /dev/foo are invalidated
new lookup on /dev/foo and you've got default permissions again.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:21 EST