Learning Fileset Names from Files or Directories

To learn the names of filesets from the names of files or directories that they contain, enter the fts lsquota command with the -path option:

$ fts lsquota [-path {filename | directory_name}...]

The -path filename or directory_name option is the name of a file or directory in each fileset whose name you want to determine. You can include multiple files or directories from different filesets. Omit this option to learn the name of the fileset that houses the working directory.

The fts lsquota command produces a single line of output for each fileset that houses a named file or directory. Each line begins with the name of the fileset to which the information corresponds. (See Setting and Listing Fileset Quota for a complete description of the command's output.)

The following example displays the name of the fileset that contains the directory named /.../abc.com/fs/usr/terry:

$ fts lsquota /.../abc.com/fs/usr/terry

Fileset Name Quota Used % Used Aggregate

user.terry 15000 5071 34% 86% = 84538/98300 (LFS)