FS_NEWALIAS
Section: AFS Command Reference (1)
Updated: OpenAFS
Index NAME
fs newalias - Creates a new alias for a cell
SYNOPSIS
fs newalias << [
-alias] <
alias name >>>
<< [
-name] <
cell name >>> [
-help]
DESCRIPTION
The
fs newalias command is used when the AFS Cache Manager is inDynamic Root (
-dynroot) mode. It creates a symbolic link in
/afsfrom 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.
CAUTIONS
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 the
CellAlias file.
There is no way to remove an alias once created without restarting theAFS Cache Manager.
OPTIONS
- -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.
- -help
- Prints the online help for this command. All other valid options areignored.
OUTPUT
This command has no output.
EXAMPLES
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 cell
openafs.org. Two links wil be created in
/afs:
/afs/openafs -> /afs/openafs.org /afs/.openafs -> /afs/.openafs.org
PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser root.
SEE ALSO
the
afsd(8) manpage,the
CellAlias(5) manpage,the
fs_listaliases(1) manpage
COPYRIGHT
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.
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- CAUTIONS
- OPTIONS
- OUTPUT
- EXAMPLES
- PRIVILEGE REQUIRED
- SEE ALSO
- COPYRIGHT
This document was created byman2html,using the manual pages.