openafs/doc/html/AdminReference/auarf151.htm
Derrick Brashear d7da1acc31 initial-html-documentation-20010606
pull in all documentation from IBM
2001-06-06 19:09:07 +00:00

121 lines
5.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
<HTML><HEAD>
<TITLE>Administration Reference</TITLE>
<!-- Begin Header Records ========================================== -->
<!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
<!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
<META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
<META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
<META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
</HEAD><BODY>
<!-- (C) IBM Corporation 2000. All Rights Reserved -->
<BODY bgcolor="ffffff">
<!-- End Header Records ============================================ -->
<A NAME="Top_Of_Page"></A>
<H1>Administration Reference</H1>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf150.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf152.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<P>
<H2><A NAME="HDRFS_LSMOUNT" HREF="auarf002.htm#ToC_165">fs lsmount</A></H2>
<A NAME="IDX4884"></A>
<A NAME="IDX4885"></A>
<A NAME="IDX4886"></A>
<A NAME="IDX4887"></A>
<A NAME="IDX4888"></A>
<P><STRONG>Purpose</STRONG>
<P>Reports the volume for which a directory is the mount point.
<P><STRONG>Synopsis</STRONG>
<PRE><B>fs lsmount -dir</B> &lt;<VAR>directory</VAR>><SUP>+</SUP> [<B>-help</B>]
<B>fs ls -d</B> &lt;<VAR>directory</VAR>><SUP>+</SUP> [<B>-h</B>]
</PRE>
<P><STRONG>Description</STRONG>
<P>The <B>fs lsmount</B> command reports the volume for which each
specified directory is a mount point, or indicates with an error message that
a directory is not a mount point or is not in AFS.
<P>To create a mount point, use the <B>fs mkmount</B> command. To
remove one, use the <B>fs rmmount</B> command.
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B>-dir
</B><DD>Names the directory that serves as a mount point for a volume. The
last element in the pathname provided must be an actual name, not a shorthand
notation such as one or two periods (<B>.</B> or
<B>..</B>).
<P><DT><B>-help
</B><DD>Prints the online help for this command. All other valid options
are ignored.
</DL>
<P><STRONG>Output</STRONG>
<P>If the specified directory is a mount point, the output is of the following
form:
<PRE> '<VAR>directory</VAR>' is a mount point for volume '<VAR>volume&nbsp;name</VAR>'
</PRE>
<P>where
<UL>
<P><LI>A number sign (<TT>#</TT>) precedes the <VAR>volume name</VAR> string for
a regular mount point.
<P><LI>A percent sign (<TT>%</TT>) precedes the <VAR>volume name</VAR> string for
a read/write mount point.
<P><LI>A cell name and colon (<TT>:</TT>) follow the number or percent
sign and precede the <VAR>volume name</VAR> string for a cellular mount
point.
</UL>
<P>The <B>fs mkmount</B> reference page explains how the Cache Manager
interprets each of the three types of mount points.
<P>If the directory is a symbolic link to a mount point, the output is of the
form:
<PRE> '<VAR>directory</VAR>' is a symbolic link, leading to a mount point for volume '<VAR>volume&nbsp;name</VAR>'
</PRE>
<P>If the directory is not a mount point or is not in AFS, the output
reads:
<PRE> '<VAR>directory</VAR>' is not a mount point.
</PRE>
<P>If the output is garbled, it is possible that the mount point has become
corrupted in the local AFS client cache. Use the <B>fs
flushmount</B> command to discard it, which forces the Cache Manager to
refetch the mount point.
<P><STRONG>Examples</STRONG>
<P>The following example shows the mount point for the home directory of user
<B>smith</B>:
<PRE> % <B>fs lsmount /afs/abc.com/usr/smith</B>
'/afs/abc.com/usr/smith' is a mount point for volume '#user.smith'
</PRE>
<P>The following example shows both the regular and read/write mount points
for the ABC Corporation cell's <TT>root.cell</TT> volume.
<PRE> % <B>fs lsmount /afs/abc.com</B>
'/afs/abc.com' is a mount point for volume '#root.cell'
% <B>fs lsmount /afs/.abc.com</B>
'/afs/.abc.com' is a mount point for volume '%root.cell'
</PRE>
<P>The following example shows a cellular mount point: the State
University cell's <TT>root.cell</TT> volume as mounted in the
ABC Corporation cell's tree.
<PRE> % <B>fs lsmount /afs/stateu.edu</B>
'/afs/stateu.edu' is a mount point for volume '#stateu.edu:root.cell'
</PRE>
<P><STRONG>Privilege Required</STRONG>
<P>The issuer must have the <B>l</B> (<B>lookup</B>) permission on the
ACL of the root directory of the volume that houses the file or directory
named by the <B>-dir</B> argument, and on the ACL of each directory that
precedes it in the pathname.
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf141.htm#HDRFS_FLUSHMOUNT">fs flushmount</A>
<P><A HREF="auarf153.htm#HDRFS_MKMOUNT">fs mkmount</A>
<P><A HREF="auarf156.htm#HDRFS_RMMOUNT">fs rmmount</A>
<P>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf150.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf152.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<!-- Begin Footer Records ========================================== -->
<P><HR><B>
<br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
</B>
<!-- End Footer Records ============================================ -->
<A NAME="Bot_Of_Page"></A>
</BODY></HTML>