mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 00:41:08 +00:00
d7da1acc31
pull in all documentation from IBM
121 lines
6.5 KiB
HTML
121 lines
6.5 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
|
|
<HTML><HEAD>
|
|
<TITLE>Administration Reference</TITLE>
|
|
<!-- Begin Header Records ========================================== -->
|
|
<!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
|
|
<!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
|
|
<META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
|
|
<META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
|
|
<META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
|
|
</HEAD><BODY>
|
|
<!-- (C) IBM Corporation 2000. All Rights Reserved -->
|
|
<BODY bgcolor="ffffff">
|
|
<!-- End Header Records ============================================ -->
|
|
<A NAME="Top_Of_Page"></A>
|
|
<H1>Administration Reference</H1>
|
|
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf100.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf102.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
|
|
<P>
|
|
<H2><A NAME="HDRBOS_GETDATE" HREF="auarf002.htm#ToC_115">bos getdate</A></H2>
|
|
<A NAME="IDX4516"></A>
|
|
<A NAME="IDX4517"></A>
|
|
<A NAME="IDX4518"></A>
|
|
<A NAME="IDX4519"></A>
|
|
<A NAME="IDX4520"></A>
|
|
<A NAME="IDX4521"></A>
|
|
<A NAME="IDX4522"></A>
|
|
<A NAME="IDX4523"></A>
|
|
<A NAME="IDX4524"></A>
|
|
<A NAME="IDX4525"></A>
|
|
<A NAME="IDX4526"></A>
|
|
<P><STRONG>Purpose</STRONG>
|
|
<P>Displays the time stamps on an AFS binary file
|
|
<P><STRONG>Synopsis</STRONG>
|
|
<PRE><B>bos getdate -server</B> <<VAR>machine name</VAR>> <B>-file</B> <<VAR>files to check</VAR>><SUP>+</SUP>
|
|
[<B>-dir</B> <<VAR>destination dir</VAR>>] [<B>-cell</B> <<VAR>cell name</VAR>>]
|
|
[<B>-noauth</B>] [<B>-localauth</B>] [<B>-help</B>]
|
|
|
|
<B>bos getd -s</B> <<VAR>machine name</VAR>> <B>-f</B> <<VAR>files to check</VAR>><SUP>+</SUP> [<B>-d</B> <<VAR>destination dir</VAR>>]
|
|
[<B>-c</B> <<VAR>cell name</VAR>>] [<B>-n</B>] [<B>-l</B>] [<B>-h</B>]
|
|
</PRE>
|
|
<P><STRONG>Description</STRONG>
|
|
<P>The <B>bos getdate</B> command displays the time stamps on the current
|
|
version,<TT> .BAK</TT> version (if any) and <TT>.OLD</TT>
|
|
version (if any) of each binary file named by the <B>-file</B>
|
|
argument. (The BOS Server automatically creates <TT>.BAK</TT>
|
|
and <TT>.OLD</TT> versions when new binaries are installed with the
|
|
<B>bos install</B> command.) The files must reside in the
|
|
<B>/usr/afs/bin</B> directory on the server machine named by the
|
|
<B>-server</B> argument unless the <B>-dir</B> argument indicates an
|
|
alternate directory.
|
|
<P>To revert to the <TT>.BAK</TT> version of a binary, use the
|
|
<B>bos uninstall</B> command. To remove obsolete binary files from
|
|
the <B>/usr/afs/bin</B> directory, use the <B>bos prune</B>
|
|
command.
|
|
<P><STRONG>Options</STRONG>
|
|
<DL>
|
|
<P><DT><B><B>-server</B>
|
|
</B><DD>Indicates the server machine from which to list binary files.
|
|
Identify the machine by IP address or its host name (either fully-qualified or
|
|
abbreviated unambiguously). For details, see the introductory reference
|
|
page for the <B>bos</B> command suite.
|
|
<P>All server machines of the same AFS system type show the same timestamps if
|
|
the binaries were installed properly on the binary distribution machine for
|
|
this machine's system type, and if all other machines of that type are
|
|
running the appropriate <B>upclientbin</B> process.
|
|
<P><DT><B><B>-file</B>
|
|
</B><DD>Names each binary file to list.
|
|
<P><DT><B><B>-dir</B>
|
|
</B><DD>Specifies the complete pathname of the local disk directory containing
|
|
each file named by the <B>-file</B> argument. It is necessary only
|
|
if the files are not in the <B>/usr/afs/bin</B> directory.
|
|
<P><DT><B><B>-cell</B>
|
|
</B><DD>Names the cell in which to run the command. Do not combine this
|
|
argument with the <B>-localauth</B> flag. For more details, see the
|
|
introductory <B>bos</B> reference page.
|
|
<P><DT><B><B>-noauth</B>
|
|
</B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
|
|
issuer. Do not combine this flag with the <B>-localauth</B>
|
|
flag. For more details, see the introductory <B>bos</B> reference
|
|
page.
|
|
<P><DT><B><B>-localauth</B>
|
|
</B><DD>Constructs a server ticket using a key from the local
|
|
<B>/usr/afs/etc/KeyFile</B> file. The <B>bos</B> command
|
|
interpreter presents the ticket to the BOS Server during mutual
|
|
authentication. Do not combine this flag with the <B>-cell</B> or
|
|
<B>-noauth</B> options. For more details, see the introductory
|
|
<B>bos</B> reference page.
|
|
<P><DT><B>-help
|
|
</B><DD>Prints the online help for this command. All other valid options
|
|
are ignored.
|
|
</DL>
|
|
<P><STRONG>Output</STRONG>
|
|
<P>For each file specified with the <B>-file</B> argument, the output
|
|
displays the time stamp on the current (unmarked), <TT>.BAK</TT>, and
|
|
<TT>.OLD</TT> version. The output explicitly reports that a
|
|
version does not exist, rather than simply omitting it.
|
|
<P><STRONG>Examples</STRONG>
|
|
<P>The following command examines the time stamps on the files with basename
|
|
<B>kaserver</B> on the machine <B>fs2.abc.com</B>:
|
|
<PRE> % <B>bos getdate -server fs2.abc.com -file kaserver</B>
|
|
File /usr/afs/bin/kaserver dated Mon Jan 4 10:00:36 1999.
|
|
.BAK file dated Wed Dec 9 18:55:04 1998, no .OLD file.
|
|
|
|
</PRE>
|
|
<P><STRONG>Privilege Required</STRONG>
|
|
<P>None
|
|
<P><STRONG>Related Information</STRONG>
|
|
<P><A HREF="auarf023.htm#HDRKEYFILE">KeyFile</A>
|
|
<P><A HREF="auarf093.htm#HDRBOS_INTRO">bos</A>
|
|
<P><A HREF="auarf105.htm#HDRBOS_INSTALL">bos install</A>
|
|
<P><A HREF="auarf109.htm#HDRBOS_PRUNE">bos prune</A>
|
|
<P><A HREF="auarf123.htm#HDRBOS_UNINSTALL">bos uninstall</A>
|
|
<P>
|
|
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf100.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf102.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
|
|
<!-- Begin Footer Records ========================================== -->
|
|
<P><HR><B>
|
|
<br>© <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
|
|
</B>
|
|
<!-- End Footer Records ============================================ -->
|
|
<A NAME="Bot_Of_Page"></A>
|
|
</BODY></HTML>
|