Andrew Apted wrote:
> 
> The only problem I had with it was figuring out that you have to use
> "mknod /foo/bar p" before running it.  Now it wouldn't be too hard to
> stat() the file, check if it exists, and call mknod(2) when it doesn't
> (saving the user the hassle).  Shall I code that up, or is there some
> security or portability implications that make it a bad idea ?

This sounds even nicer (provided there are no security problems) for
people like me using devfs.  So far I've found no need to tar up /dev
and untar on the next boot.  Everything that needs entries seems to
either get them from devfs itself, or creates it's own when run (gpm
already does what you are asking for /dev/gpmctrl).

Reply via email to