resymlink(1M) resymlink(1M)
resymlink - force a recreation of a symbolic link file
resymlink file1 [file2 file3 ...]
All named files are recreated with their current symbolic link
information. A symbolic link is a special kind of file whose contents
are the name of another file (see symlink(2)). A symbolic link contains
the name of the file to which it is linked, and is created with the ln(1)
command.
The resymlink command allows a user to recreate a current symbolic link,
possibly using different filesystem creation policies. In particular, if
the Extent Filesystem global system parameter efs_inline is non-zero,
symbolic link information is stored within an EFS file's inode structure,
and not in a separate (out-of-line) filesystem block. This saves disk
space and incore memory space and is faster to interpret for symbolic
link files that are currently being accessed by the system. For more
information on the global system parameter efs_inline, see systune(1M)
and inode(4).
Inline symbolic links are not supported on systems prior to IRIX 5.3
(32-bit) or IRIX 6.0.1 (64-bit). If an EFS filesystem that contains
inline symbolic links is to be moved to a pre-5.3/6.0.1 system--moved
either physically or logically, as when a system is downgraded to a
previous release--all inline symbolic links must first be recreated outof-line.
This is accomplished by setting the efs_inline system parameter
to 0 and running resymlink on all EFS symbolic links that have been
created in-line. For example:
find / -local -type l -exec resymlink {} \;
find(1), fsdb(1M), systune(1M), inode(4).
PPPPaaaaggggeeee 1111 [ Back ]
|