cellalias(5) [xfree86 man page]
CELLALIAS(5) AFS File Reference CELLALIAS(5) NAME CellAlias - Maps cell names to aliases in /afs DESCRIPTION The CellAlias file is used by the Unix cache manager when it is using Dynamic Root (-dynroot) mode. It creates symbolic links in the dynamic root (/afs) that link an alias for a cell (usually a short name) to the full name for the cell. The most common use of this configuration file is to allow short names for frequently used cell names. Traditionally, such short names would be created by the local AFS administrator by creating symbolic links in the "root.afs" volume. Such symlinks do not appear when Dynamic Root is enabled because, with Dynamic Root, the Cache Manager does not mount or look at the "root.afs" volume. CellAlias is a replacement that allows such short names to be created under the client control. If you configure a short name mapping such as "ir" for "ir.stanford.edu", the mapping of ".ir" to ".ir.stanford.edu" for the read/write version of the "root.cell" volume for that cell will be created automatically. There is no need to list that alias separately. afsd will report an error on startup if the dotted entry is listed separately. The contents of the CellAlias file should consist of one line of two whitespace-separated columns per alias. The first column is the real name of the cell, and the second column is the alias that should be created. EXAMPLES The following CellAlias file: openafs.org openafs uncc.edu uncc results in the following symbolic links: /afs/.openafs -> /afs/.openafs.org /afs/openafs -> /afs/openafs.org /afs/.uncc -> /afs/.uncc.edu /afs/uncc -> /afs/uncc.edu SEE ALSO fs_newalias(1), fs_listaliases(1), afsd(8) COPYRIGHT Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com> This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS. OpenAFS 2012-03-26 CELLALIAS(5)
Check Out this Related Man Page
FS_NEWALIAS(1) AFS Command Reference FS_NEWALIAS(1) 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 in Dynamic Root (-dynroot) mode. It creates a symbolic link in /afs from an alias to the full name of the cell. It also creates a symbolic link from the alias prepended with "." to the full name of the cell prepended with ".", the convention for access to the read/write version of the "root.cell" volume of that cell. This command is used to supplement aliases created via the CellAlias configuration file when afsd starts. Traditionally, these aliases would be created by the local AFS administrator by creating symbolic links in the "root.afs" volume. Such symlinks do not appear when Dynamic Root is enabled because, with Dynamic Root, the Cache Manager does not mount or look at the "root.afs" volume. This alias capability is a replacement that allows such short names to be created under client control. CAUTIONS
Aliases created with fs newcell are only temporary and will be lost when the AFS Cache Manager is restarted or the client machine is rebooted. 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 the AFS 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 are ignored. 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 will 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
afsd(8), CellAlias(5), fs_listaliases(1) COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com> This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS. OpenAFS 2012-03-26 FS_NEWALIAS(1)