Re: devlinks: an alternative to devfs

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Thu, 8 Jan 1998 12:40:13 +0100


Hi!

> > But, as I've already said, tar doesn't store whatever magic is needed
> > to tell the FS driver that this symlink is really a devlink.
>
> Yes, it does. With devlinks, the 'magic' is that the sticky bit
> (or whatever bit we encroach on) is set. Tar would save this bit
> and would restore it properly on restore. Chmod(2) would actually
> *be* the interface that changes a symlink to a devlink.
>
> And if you are thinking 'that is so kludgy!', go ahead. It's a
> fair thought. One man's kludge is another man's cleverness.

Some applications actually stat file to see if it is special device,
and if it is, they handle it 'carefully'. You would break this ones.

Pavel

-- 
Do *NOT* buy software, GNU software is better and free!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+