[Next] [Previous] [Up] [Top] [Contents] [Index]

Chapter 7: The AFS File System

7.4 AFS File System Commands and man Pages

AFS provides a command (with many options) that allows you to address file system issues such as checking permissions, checking quota, making mount points, finding where a volume is mounted in the file tree, and so on. The AFS file system (fs) command is entered in the format:

% fs main_option -option(s) argument(s)

Many of the options can be abbreviated, and option flags can often be omitted from the command. Check the man pages, as described below.

To get a list of the main options of the fs command, enter:

% fs help

Here is an edited output listing showing only a few of the options:

fs: Commands are:
listacl         list access control list
listquota       list volume quota
lsmount         list mount point
quota           show volume quota usage
rmmount         remove mount point
setacl          set access control list
setquota        set volume quota
whereis         list file's location
whichcell       list file's cell

To get usage information on a particular fs option, enter:

% fs option -help 

For example:

% fs setacl -help
Usage: fs setacl -dir <directory>+ -acl <access list entries>+ [-clear ] [-negat
ive ] [-id ] [-if ] [-help ]

[Missing image]Man pages are available on-line on the AFS systems[34], but you'll find that the names of the manual pages are a little less than clear. Since the fs command is one command with several main options (e.g., setacl, listacl), to get the man pages you must attach the command and the main option via an underscore (_):

% man command_option

where command is fs, for example:

% man fs_setacl

The underscore is only used with the man command, not when issuing the command itself.


[34] If you have trouble finding the man pages for AFS commands on your node, check your $MANPATH variable to see that it includes /usr/afsws/man.

UNIX at Fermilab - 10 Apr 1998

[Next] [Previous] [Up] [Top] [Contents] [Index]