# the above variables or to any set of flags that you prefer.
OPTIONS=AUTOMATIC
+# The default value for the client sysname (as returned by fs sysname) is
+# determined during the kernel module build and is taken from the architecture
+# and the major Linux kernel version. Accesses to directories named "@sys" in
+# AFS will be internally redirected to a directory by this name by the AFS
+# client, allowing a single path to resolve to different directories depending
+# on the client architecture.
+#
+# If you would like to override the client sysname, uncomment this line and
+# set the variable to a space-separated list of sysnames. The AFS client will
+# attempt to resolve @sys to each directory name in the order given.
+#AFS_SYSNAME=""
+
# If you want to prefer particular servers for replicated volumes, you can
# configure that by defining an afs_server_prefs function here and then
# uncommenting the setting of AFS_POST_INIT below. For more information, see
it to contain just the name of the cell.
* Detect AFS caches on non-ext2/ext3 file systems and abort AFS client
initialization. (Closes: #249315)
+ * Provide a way of setting sysname in afs.conf. (Closes: #324694)
* Don't create the unused /etc/openafs/AFSLog file. (Closes: #120097)
* Redo how library object files are found for the PAM module build to
avoid assuming C locale character set behavior. (Closes: #323582)
if is_on $AFS_CRYPT ; then
fs setcrypt on
fi
+
+ # From /etc/openafs/afs.conf, set a sysname list if one was configured.
+ if [ -n "$AFS_SYSNAME" ] ; then
+ fs sysname $AFS_SYSNAME
+ fi
}
# Kill all processes that are accessing AFS. Not enabled by default, and