tag2name - prints the path name of a file given the tag number
Specifies the relative path of the AdvFS tags directory for
Specifies the AdvFS file tag number.
Internally, AdvFS identifies files by tag numbers (similar to inodes in UFS). Internal messages, error messages, and output from diagnostic utilities usually specify a tag number in place of a file name. To determine the name and path of the file identified by a tag number, use the tag2name command.
Each mounted AdvFS fileset has a
directory in its mount point. To obtain the file name, specify the path to
directory in the fileset
followed by the desired tag number as the argument to the
command. The full path name of the corresponding file will be printed
to standard out.
You must have root-user privilege to access this command. The tag you
specify must be numeric and greater than 1.
The following example prints the file name corresponding to tag 5 in the usr fileset. It assumes the current working directory is /usr: # /sbin/advfs/tag2name .tags/5
/usr/quota.group The following example prints the file name corresponding to tag 145 in the staff2 fileset. The current working directory is /staff2/.tags: # /sbin/advfs/tag2name 145
Specifies the command path.