NAME

fs_lsmount - Reports the target volume of a mount point

SYNOPSIS

fs lsmount -dir <directory>+ [-help]

DESCRIPTION

The fs lsmount command reports the volume which is the target of a mount point, or indicates with an error message that a directory is not a mount point or is not in /afs.

To create a mount point, use the fs mkmount command. To remove one, use the fs rmmount command.

OPTIONS

-dir <directory>+

Names a directory that is actually a mount point for a volume. The last element in the pathname provided must be the name of a directory entry. The pathname cannot end in a directory separator nor can it be the placeholder entries for the current directory (.) or the parent directory (..).

-help

Prints the online help for this command. All other valid options are ignored.

OUTPUT

If the specified directory is a mount point, the output is of the following form:

   '<directory>' is a mount point for volume '<volume name>'

where

The fs mkmount reference page explains how the Cache Manager interprets each of the three types of mount points.

If the directory is a symbolic link to a mount point, the output is of the form:

   '<directory>' is a symbolic link, leading to a mount point for volume
   '<volume name>'

If the directory is not a mount point or is not in /afs, the output reads:

   '<directory>' is not a mount point.

If the output is garbled, it is possible that the mount point target information has become corrupted in the Cache Manager. Use the fs flushmount command to discard it, which forces the Cache Manager to refetch the mount point target information.

EXAMPLES

The following example shows the mount point for the home directory of user smith:

   % fs lsmount /afs/your-cell-name.com/usr/smith
   '/afs/your-cell-name.com/usr/smith' is a mount point for volume '#user.smith'

The following example shows both the regular and read/write mount points for the your-cell-name.com cell's root.cell volume.

   % fs lsmount /afs/your-cell-name.com
   '/afs/your-cell-name.com' is a mount point for volume '#root.cell'

   % fs lsmount /afs/.your-cell-name.com
   '/afs/.your-cell-name.com' is a mount point for volume '%root.cell'

The following example shows a cellular mount point: the foreign-cell-name.com cell's root.cell volume as mounted in the your-cell-name.com cell's tree.

   % fs lsmount /afs/foreign-cell-name.com
   '/afs/foreign-cell-name.com' is a mount point for volume '#foreign-cell-name.com:root.cell'

PRIVILEGE REQUIRED

The issuer must have the l (lookup) permission on the ACL of the root directory of the volume that houses the file or directory named by the -dir argument, and on the ACL of each directory that precedes it in the pathname.

SEE ALSO

fs_flushmount(1), fs_mkmount(1), fs_rmmount(1)

COPYRIGHT

IBM Corporation 2000. http://www.ibm.com/ All Rights Reserved.

This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.

ACKNOWLEDGEMENTS

"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)

"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)

The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).

"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).

"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.