Re: devlinks: an alternative to devfs

Michael Elizabeth Chastain (mec@shout.net)
Thu, 8 Jan 1998 02:00:01 -0600


Hi Richard,

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

Michael