hard linked symlinks (yeah)
Phil Howard KA9WGN
phil at ux1.cso.uiuc.edu
Sun Mar 24 10:02:53 AEST 1991
Does anyone see any technical problems with having a single inode for
a symlink, linked to under several different names?
The symlink does NOT point to a directory, it points to a file.
All of the links to the one symlink are in the same subdirectory,
for convenience.
The purpose is to have ONE command (rsh) executed under a number of
different names (various host names). The rsh command is on a different
filesystem than the subdirectory, so a symlink is required.
The alternative was to have separate symlinks under each name, but that
appeared to be consuming a data block for each one to store the name
the symlink was pointing to. I wanted to conserve some space.
Unlink directories, the hardlinked symlinks are easily removable.
One of the anticipated problems is that backup/restore and/or
archive/extract of them will fail. I probably can live with that
as long as it does not cause something to crash, rather just fail
to restore the links.
Comments?
--
/***************************************************************************\
< Phil Howard -- KA9WGN -- phil at ux1.cso.uiuc.edu >
\***************************************************************************/
More information about the Comp.unix.questions
mailing list