lkml.org 
[lkml]   [1998]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: devlinks: an alternative to devfs
Hi Richard,

> Er, but then GNU tar can't back up /dev properly, because it doesn't
> know about the magic bit. When you restore your FS those entries
> become ordinary symlinks.

That's a distinct risk. I admit this is kludgy. I was thinking
about using the sticky bit, or some other 'unused bit' that is already
within the set of bits that tar would backup.

> # mount -t devfs none /gaol/dev
> # cd /gaol/dev
> # rm -f lp{0,1,2} sd{a,b,c,d,e} hd{a,b,c,d} ...

Hang on, I think you are missing the point of my use case. Suppose
that root does the above. Then an hour later, root does:

# insmod lp

... *after* the gaol is up and running.

Michael

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.023 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site