mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +00:00
74296237ca
Several small fixes for spelling and grammar. Reviewed-on: http://gerrit.openafs.org/3890 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org> (cherry picked from commit dca093a17097f7e24d43afe4544e4be896b86680) Change-Id: Id7a937572a1806f0ef812b8d7089ed5d3c5dabd9 Reviewed-on: http://gerrit.openafs.org/3913 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementia.org>
75 lines
2.1 KiB
Plaintext
75 lines
2.1 KiB
Plaintext
=head1 NAME
|
|
|
|
sys - Reports the compile-time CPU/operating system type
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
=for html
|
|
<div class="synopsis">
|
|
|
|
B<sys>
|
|
|
|
=for html
|
|
</div>
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
The B<sys> command displays the string set at compile time that indicates
|
|
the local machine's CPU/operating system (OS) type, conventionally called
|
|
the I<sysname>. 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<OpenAFS Quick Start
|
|
Guide> and I<OpenAFS Administration Guide> explain how using I<@sys> can
|
|
simplify cell configuration.
|
|
|
|
To set a new value in kernel memory, use the B<fs sysname> command. To
|
|
view the current value set in the kernel, use either B<fs sysname> or
|
|
B<livesys>.
|
|
|
|
=head1 CAUTIONS
|
|
|
|
You almost always want to use B<livesys> rather than this command. The
|
|
B<sys> 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<fs
|
|
sysname>, or if you run a version of B<sys> compiled differently than the
|
|
Cache Manager running on the system, the value returned will not match the
|
|
behavior of the Cache Manager. The only reason to use B<sys> is that
|
|
B<livesys> wasn't available in older versions of AFS.
|
|
|
|
=head1 OUTPUT
|
|
|
|
The machine's system type appears as a text string:
|
|
|
|
I<system_type>
|
|
|
|
=head1 EXAMPLES
|
|
|
|
The following example shows the output produced on a Sun SPARCStation
|
|
running Solaris 5.7:
|
|
|
|
% sys
|
|
sun4x_57
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
None
|
|
|
|
=head1 SEE ALSO
|
|
|
|
L<fs_sysname(1)>,
|
|
L<livesys(1)>
|
|
|
|
The I<OpenAFS Quick Start Guides> at L<http://docs.openafs.org/>.
|
|
|
|
The I<OpenAFS Administration Guide> at
|
|
L<http://docs.openafs.org/AdminGuide/>.
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
|
|
|
|
This documentation is covered by the IBM Public License Version 1.0. It was
|
|
converted from HTML to POD by software written by Chas Williams and Russ
|
|
Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
|