Section: AFS Command Reference (1)
fs newalias - Creates a new alias for a cell
] <alias name
] <cell name
The fs newalias
command is used when the AFS Cache Manager is inDynamic Root (-dynroot
) mode. It creates a symbolic link in /afs
from an alias to the full name of the cell. It also creates a symboliclink from the alias prepended with .
to the full name of the cellprepended with .
, the convention for access to the read/write versionof the root.cell
volume of that cell.
This command is used to supplement aliases created via the CellAliasconfiguration file when afsd starts.
Traditionally, these aliases would be created by the local AFSadministrator by creating symbolic links in the root.afs volume. Suchsymlinks do not appear when Dynamic Root is enabled because, with DynamicRoot, the Cache Manager does not mount or look at the root.afsvolume. This alias capability is a replacement that allows such shortnames to be created under client control.
Aliases created with fs newcell
are only temporary and will be lostwhen the AFS Cache Manager is restarted or the client machine isrebooted. In order to make the alias permanent, it must be put into theCellAlias
There is no way to remove an alias once created without restarting theAFS Cache Manager.
- -alias <alias name>
- This is the short name to which the user wants to map the real cell name.
- -name <cell name>
- This is the real cell name.
- Prints the online help for this command. All other valid options areignored.
This command has no output.
There are two ways to call fs newalias
% fs newalias openafs openafs.org % fs newalias -alias openafs -name openafs.org
Both of the above examples create an alias openafs
for the cellopenafs.org
. Two links wil be created in /afs
/afs/openafs -> /afs/openafs.org /afs/.openafs -> /afs/.openafs.org
The issuer must be logged in as the local superuser root.
Copyright 2007 Jason Edgecombe <jasonAATTrampaginggeek.com>
This documentation is covered by the IBM Public License Version 1.0. Thisman page was written by Jason Edgecombe for OpenAFS.
- PRIVILEGE REQUIRED
- SEE ALSO
This document was created byman2html,using the manual pages.