3 fs_lsmount - Reports the volume for which a directory is the mount point.
10 B<fs lsmount> S<<< B<-dir> <I<directory>>+ >>> [B<-help>]
12 S<<< B<fs ls -d> <I<directory>>+ >>> [B<-h>]
19 The B<fs lsmount> command reports the volume for which each specified
20 directory is a mount point, or indicates with an error message that a
21 directory is not a mount point or is not in AFS.
23 To create a mount point, use the B<fs mkmount> command. To remove one, use
24 the B<fs rmmount> command.
30 =item B<-dir> <I<directory>>+
32 Names the directory that serves as a mount point for a volume. The last
33 element in the pathname provided must be an actual name, not a shorthand
34 notation such as one or two periods (C<.> or C<..>).
38 Prints the online help for this command. All other valid options
45 If the specified directory is a mount point, the output is of the
48 '<directory>' is a mount point for volume '<volume name>'
56 A number sign (C<#>) precedes the <volume name> string for a regular mount
61 A percent sign (C<%>) precedes the <volume name> string for a read/write
66 A cell name and colon (C<:>) follow the number or percent sign and precede
67 the <volume name> string for a cellular mount point.
71 The B<fs mkmount> reference page explains how the Cache Manager interprets
72 each of the three types of mount points.
74 If the directory is a symbolic link to a mount point, the output is of the
77 '<directory>' is a symbolic link, leading to a mount point for volume
80 If the directory is not a mount point or is not in AFS, the output reads:
82 '<directory>' is not a mount point.
84 If the output is garbled, it is possible that the mount point has become
85 corrupted in the local AFS client cache. Use the B<fs flushmount> command
86 to discard it, which forces the Cache Manager to refetch the mount point.
90 The following example shows the mount point for the home directory of user
93 % fs lsmount /afs/example.com/usr/smith
94 '/afs/example.com/usr/smith' is a mount point for volume '#user.smith'
96 The following example shows both the regular and read/write mount points
97 for the Example Corporation cell's C<root.cell> volume.
99 % fs lsmount /afs/example.com
100 '/afs/example.com' is a mount point for volume '#root.cell'
102 % fs lsmount /afs/.example.com
103 '/afs/.example.com' is a mount point for volume '%root.cell'
105 The following example shows a cellular mount point: the Example Organization
106 cell's C<root.cell> volume as mounted in the Example Corporation cell's tree.
108 % fs lsmount /afs/example.org
109 '/afs/example.org' is a mount point for volume '#example.org:root.cell'
111 =head1 PRIVILEGE REQUIRED
113 The issuer must have the C<l> (lookup) permission on the ACL of the root
114 directory of the volume that houses the file or directory named by the
115 B<-dir> argument, and on the ACL of each directory that precedes it in the
126 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
128 This documentation is covered by the IBM Public License Version 1.0. It was
129 converted from HTML to POD by software written by Chas Williams and Russ
130 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.