vxlsino(1M)vxlsino(1M)NAMEvxlsino - VxFS reverse path name lookup utility
SYNOPSIS
/opt/VRTS/bin/vxlsino [ -a ] inode_number mount_point
AVAILABILITY
VRTSvxfs
DESCRIPTION
The vxlsino command searches for and displays one path name of a file
or directory with the specified inode number. If the -a option is
specified, all path names of a file or directory with the specified
inode number are displayed.
inode_number is the inode for which to find the path name.
mount_point specifies the mounted VxFS file system.
NOTESvxlsino operates only on file systems using the Version 6 or higher
disk layout.
Reverse path name lookup does not track symbolic links to files.
vxlsino uses the vxfs_inotopath API to obtain the path name (see the
vxfs_inotopath(3) manual page).
Cluster File System Issues
No cluster issues; command operates the same on cluster file systems.
OPTIONS-a Displays all the path names of the specified inode number.
EXAMPLES
The following is an example of the reverse name lookup procedure on the
file system /mnt1. List the contents of the directory:
$ ls -liR /mnt1
/mnt1:
total 0
417 drwxrwxrwx 2 root other 2048 Aug 24 17:02 dir1
140 -rw-rw-rw- 1 root other 12 Aug 24 17:02 file1
3 drwxr-xr-x 2 root root 96 Aug 24 17:02 lost+found
80 -rw-rw-rw- 1 root other 0 Aug 25 10:54 file3
/mnt1/dir1:
total 0
480 -rw-rw-rw- 1 root other 0 Aug 24 17:02 file2
To determine the single path name of inode number 140, enter:
$ vxlsino 140 /mnt1
/mnt1/file1
Create hard links to the file file3:
$ cd dir1
$ ln ../file3 file4
$ ln ../file3 file5
$ ls -li ../file3
80 -rw-rw-rw- 3 root other 0 Aug 25 10:54 ../file3
To determine the single path name of inode number 80, enter:
$ vxlsino 80 /mnt1
/mnt1/file3
To determine all the path names of inode number 80, enter:
$ vxlsino-a 80 /mnt1
/mnt1/file3
/mnt1/dir1/file4
/mnt1/dir1/file5
When an inode number corresponds to a VxFS named data stream, the file
name is preceded by a dot (.). For example, if inode number 100 corre‐
sponds to the named data stream attributes of the file file2, the com‐
mand displays the following output:
$ vxlsino 100 /mnt1
/mnt1/file2/./attributes
SEE ALSOls_vxfs(1), fcladm(1M), vxfs_inotopath(3)VxFS 5.0 7 Jan 2008 vxlsino(1M)