lkml.org 
[lkml]   [1998]   [Jan]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 8 Jan 1998 02:34:59 -0600
FromMichael Elizabeth Chastain <>
SubjectRe: devlinks: an alternative to devfs
Hi Richard,

> # rm /gaol/dev/lp0
> # insmod lp
> # ls -lF /dev/lp0
> crw-rw-rw-   1 root     root       6,   0 Aug 30  1992 /dev/lp0
> # ls -lF /gaol/dev/lp0
> /bin/ls: /gaol/dev/lp0: No such file or directory
> 
> That's what you want, isn't it?

Yes.

> This assumes that you know which devices you want to disable in your gaol.

Yes.  I think this is a completely untenable assumption.

> And, we can be even more clever than that. By using:
> # mount -t devfs -o explicit none /gaol/dev
> # mknod /gaol/dev/null c 0 0
> # mknod /gaol/dev/zero c 0 0

That is much nicer!

Michael

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008