Re: devfs again, (was RE: USB device allocation)

Dan Hollis (goemon@sasami.anime.net)
Fri, 8 Oct 1999 13:29:04 -0700 (PDT)


On Fri, 8 Oct 1999, Stephen Frost wrote:
> On Thu, 7 Oct 1999, Steve Dodd wrote:
> > Couldn't devfs forward permission changes via chmod/chown to the user space
> > daemon, which could update the database / magic file?
> You're now hacking around the flaw, not a nice way to do it.

How about: when devfs is mounted, kernel opens a handle to a file called
"devfs.permissions" on the mount point. Then device ownership and
permissions are stored on the physical filesystem.

This could be overridden with a parameter to the kernel to tell it we
don't want persistent information *at all* (eg for embedded systems).

-Dan

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