Manual Page Result
0
Command: tag2name | Section: 8 | Source: Digital UNIX | File: tag2name.8.gz
tag2name(8) System Manager's Manual tag2name(8)
NAME
tag2name - prints the path name of a file given the tag number
SYNOPSIS
/sbin/advfs/tag2name tags_directory/tag
Specifies the relative path of the AdvFS tags directory for the file-
set. Specifies the AdvFS file tag number.
DESCRIPTION
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 de-
termine the name and path of the file identified by a tag number, use
the tag2name command.
Each mounted AdvFS fileset has a .tags directory in its mount point. To
obtain the file name, specify the path to the .tags directory in the
fileset followed by the desired tag number as the argument to the
tag2name command. The full path name of the corresponding file will be
printed to standard out.
RESTRICTIONS
You must be the root user to use this command. The tag you specify
must be numeric and greater than 1.
EXAMPLES
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 /staff2/joe/save/oldfile
FILES
Specifies the command path.
RELATED INFORMATION
advfs(4) delim off
tag2name(8)