AFS is a distributed file system that enables sharing files across both local area and wide area networks.
AFS is based on a distributed file system originally developed at the Information Technology Center at Carnegie-Mellon University that was called the Andrew File System.
Some useful features of AFS:
See Also:
This table lists the most common AFS commands used by users. All commands have two help functions: command help and command option -help.
File Service Commands | |
---|---|
fs listquota [path] fs lq [path] |
list the AFS quota for the volume containing file or directory path. If no path is specified, the current directory is used. |
fs listacl [path] fs la [path] |
List the Acess Control List for the directory path (or the directory containing path). If no path is specified, the current directory is used. |
fs setacl path user acl fs sa path user acl |
Set the Acess Control List for the user user on the directory path. |
fs copyacl srcpath destpath | Copy the Acess Control Lists from the directory srcpath to the directory destpath. Note that this does not delete the existing Access Control Lists from destpath. |
afs_rseta path user acl | Recursively set the Acess Control List for the user user on the directory path and all subdirectories of path. |
fs whereis [path] | Print the name of the AFS Fileserver for the volume containing file or directory path If no path is specified, the current directory is used. |
AFS Group Commands | |
pts creategroup username:group | Create a group named username:group. username must be your username. |
pts adduser user username:group | Add user user to group username:group. Usually username is your username. |
pts removeuser user username:group | Remove user user from group username:group. Usually username is your username. |
pts membership user | List the groups user is a member of |
pts membership username:group | List the members of group username:group |
pts listowned username | List the groups owned by username |
Authentication Commands | |
tokens | Print information about the AFS Authentication Token of the current process authentication group (PAG). |
kalog | Renew/Create Kerberos Ticket and AFS Token |
Miscellaneous Commands | |
up srcdir destdir | Recursively copy srcdir to destdir, preserving AFS Access Control Lists. |
See Also: