BOS_PRUNE(8)
π BOS_PRUNE(8) β bestie's guide to yeeting obsolete files β¨
okay so real talk, this page lives in the AFS Command Reference and it's about bos_prune, which is the little command that removes obsolete files from /usr/lib/openafs and /var/log/openafs. she's a cleaner. a declutterer. a girl who throws away the .BAK files so you don't have to. π§Ήπ
πΈ NAME πΈ
bos_prune β Removes obsolete files from /usr/lib/openafs and /var/log/openafs
β¨ SYNOPSIS β¨
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]
π¦ DESCRIPTION π¦
So bos prune goes onto the local disk of whichever server machine you named with the -server argument and deletes files there. Which files? That depends entirely on which of these flags you hand her. Pick one, pick a few, whatever β she does as she's told: π
- The
-bakflag removes all files from the/usr/lib/openafsdirectory that have a".BAK"extension. - The
-oldflag removes all files from the/usr/lib/openafsdirectory that have a".OLD"extension. - The
-coreflag removes all files from the/var/log/openafsdirectory that have a"core."prefix. - The
-allflag removes all three types of files at once.
not me warning you: if you include none of these flags, the command appears to succeed but removes no files at all. silently. like a girl who said "yeah I'll do it" and then didn't. π
Wanna see the timestamp on the current, ".BAK", and ".OLD" versions of one or more files before you start deleting? Use the bos getdate command. she'll show you the receipts. π
π OPTIONS π
-server<machine name> β Indicates the server machine from which to remove files. Identify the machine by IP address or its host name (either fully-qualified or abbreviated unambiguously). For details, seebos(8).-bakβ Removes all files from the/usr/lib/openafsdirectory that have a".BAK"extension. Do not combine this flag and the-allflag.-oldβ Removes all files from the/usr/lib/openafsdirectory that have a".OLD"extension. Do not combine this flag and the-allflag.-coreβ Removes all files from the/var/log/openafsdirectory that have a"core."prefix. Do not combine this flag and the-allflag.-allβ Combines the effect of the-bak,-old, and-coreflags. Do not combine this flag with any of those three.-cell<cell name> β Names the cell in which to run the command. Do not combine this argument with the-localauthflag. For more details, seebos(8).-noauthβ Assigns the unprivileged identity"anonymous"to the issuer. Do not combine this flag with the-localauthflag. For more details, seebos(8).-localauthβ Constructs a server ticket using a key from the local/etc/openafs/server/KeyFileor/etc/openafs/server/KeyFileExtfile. Theboscommand interpreter presents the ticket to the BOS Server during mutual authentication. Do not combine this flag with the-cellor-noauthoptions. For more details, seebos(8).-helpβ Prints the online help for this command. All other valid options are ignored.
π₯ EXAMPLES π₯
okay example time, this is where it gets fun π
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
π PRIVILEGE REQUIRED π
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.
π« also, heads up: the bos prune command cannot be run against servers which are in restricted mode. no exceptions, bestie.
π SEE ALSO π
KeyFile(5), KeyFileExt(5), UserList(5), bos(8), bos_getdate(8)
π 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.
okay that's the whole page, you ate it, periodt π β¨ this was OpenAFS, dated 2026-07-27, and she's out π«Άπ¦πΈ
π¦ where this page comes from
- ubuntu stonking: openafs-client 1.8.16.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms