X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=doc%2Fman-pages%2Fpod1%2Fsys.pod;h=d345007db27e0f260794698580ff70ae2578aa80;hp=909836cc3db8604acdd2f3768691dffa81045dcc;hb=90bc5c0092652b047c4eabffb5577e05859c80f4;hpb=160854bd2bd9994b615216c566473598e871d13b diff --git a/doc/man-pages/pod1/sys.pod b/doc/man-pages/pod1/sys.pod index 909836c..d345007 100644 --- a/doc/man-pages/pod1/sys.pod +++ b/doc/man-pages/pod1/sys.pod @@ -1,23 +1,35 @@ =head1 NAME -sys - Reports the CPU/operating system type +sys - Reports the compile-time CPU/operating system type =head1 SYNOPSIS -sys +B =head1 DESCRIPTION -The B command displays the string stored in kernel memory that -indicates the local machine's CPU/operating system (OS) type. The Cache -Manager substitutes the string for the I<@sys> variable which can occur in -AFS pathnames; the I and I explain how using I<@sys> can simplify cell -configuration. - -The command always reports the value for the local machine only. To set a -new value in kernel memory, use the B command, which like this -command can also be used to display the current value. +The B command displays the string set at compile time that indicates +the local machine's CPU/operating system (OS) type, conventionally called +the I. This string is the default for the value stored in kernel +memory. The Cache Manager substitutes this string for the I<@sys> +variable which can occur in AFS pathnames; the I +and I explain how using I<@sys> can simplify +cell configuration. + +To set a new value in kernel memory, use the B command. To +view the current value set in the kernel, use either B or +B. + +=head1 CAUTIONS + +You almost always want to use B rather than this command. The +B command displays a single value hard-coded at compile time. It +does not query the Cache Manager for the current value and it does not +report sysname lists. If you have changed the local system type with B, or if you run a version of B compiled differently than the +Cache Manager running on the system, the value retured will not match the +behavior of the Cache Manager. The only reason to use B is that +B wasn't available in older versions of AFS. =head1 OUTPUT @@ -39,7 +51,8 @@ None =head1 SEE ALSO -L +L, +L I