BOS_PRUNE(8) | AFS Command Reference | BOS_PRUNE(8) |
bos_prune - Removes obsolete files from /usr/lib/openafs and /var/log/openafs
bos prune
-server <machine name> [-bak]
[-old] [-core]
[-all] [-cell <cell name>]
[-noauth] [-localauth]
[-help]
bos p -s <machine name>
[-b] [-o] [-co] [-a]
[-ce <cell name>] [-n] [-l]
[-h]
The bos prune command removes files from the local disk of the server machine named by the -server argument, as specified by one or more of the following flags provided on the command line:
(If none of these flags are included, the command appears to succeed, but removes no files at all.)
To display the timestamp on the current, ".BAK", and ".OLD" versions of one or more files, use the bos getdate command.
The following example removes all files from the /usr/lib/openafs directory on the machine "fs3.example.com" that have a ".BAK" or ".OLD" extension.
% bos prune -server fs3.example.com -bak -old
The following example removes all files from the /usr/lib/openafs directory on the machine "db2.example.com" that have a ".BAK" or ".OLD" extension, and all files from the /var/log/openafs directory that have a "core." prefix.
% bos prune -server db2.example.com -all
The issuer must be listed in the /etc/openafs/server/UserList file on the machine named by the -server argument, or must be logged onto a server machine as the local superuser "root" if the -localauth flag is included.
The bos prune command cannot be run against servers which are in restricted mode.
KeyFile(5), KeyFileExt(5), UserList(5), bos(8), bos_getdate(8)
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.
2021-01-14 | OpenAFS |