To learn a fileset's ID number from the name of a file or directory that it contains, enter the fts lsft command with the -path option:
$ fts lsft [-path {filename | directory_name}]
The -path filename or directory_name option is the name of a file or directory in the fileset whose ID number you want to determine. Omit this option to learn the ID number of the fileset that houses the working directory.
The fts lsft command begins its output with the name and ID number of the fileset that houses the named file or directory. (See Listing FLDB and Fileset Header Information for a description of the command's output.)
The following example displays the fileset ID number (again 0,,196953) of the fileset that contains the current working directory:
$ fts lsft
_______________________________________________________________
user.terry 0,,196953 RW LFS states 0x10010005 On-line
fs3.abc.com, aggregate lfs1 (ID 10)
.
.
.
server flags aggr siteAge principal owner
fs3.abc.com RW,BK lfs1 0:00:00 hosts/fs3 <nil>
_______________________________________________________________