Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cruft(8) [debian man page]

CRUFT(8)						      System Manager's Manual							  CRUFT(8)

NAME
cruft - Check the filesystem for cruft (missing and unexplained files) SYNOPSIS
cruft [-h] [-d DRIVES] [--chroots CHROOTS] [--ignore IGNORES] [-r REPORTFILE] [-m ADDRESS] [-k | -n | -N] DESCRIPTION
This manual page documents briefly the cruft command. Please see /usr/share/doc/cruft/README.gz for more information. cruft is a program that goes over the Debian packaging system's database, and compares the contents of that with the files actually on your system, and produces a summary of the differences. OPTIONS
The following options are recognized: -h Show a summary of options and exit. -d DRIVES Search only the listed filesystems. DRIVES should be an absolute path, or a quoted, space-separated list of multiple absolute paths (eg, "/ /usr /home"). Multiple -d options are allowed as well. If not specified, cruft attempts to autodetect which filesystems to scan. --chroots CHROOTS Do not perform validity checks on symlinks under these directories. Useful for whatever chroots are set up in the system. --ignore IGNORES Treat the directory trees in IGNORES as if they did not exist. IGNORES should be an absolute path, or a quoted, space-separated list of multiple absolute paths. Multiple --ignore options are allowed as well. -r REPORTFILE Output report to REPORTFILE instead of standard output. -m ADDRESS Mail report to ADDRESS. -k Only cleanup cruft's spool directory. -n Generate input files for reporting, but do not generate a report. -N Only generate a report, based on old input files. With none of -k -n or -N cruft performs all the above three actions, that is cleans its own spool directory, generates new input files and produces a report. Please note that cruft never deletes any files outside its own spool directory. ENVIRONMENT VARIABLES
It is possible to get some debugging information from cruft by setting the variable CRUFT_DEBUG to 1. If you need more detailed information on what cruft is doing, set it to 2. SEE ALSO
/usr/share/doc/cruft/README.gz AUTHOR
This manual page was written by Anthony Towns <ajt@debian.org>, for the Debian GNU/Linux system (but may be used by others). CRUFT(8)

Check Out this Related Man Page

PKGSYNC(8)						      System Manager's Manual							PKGSYNC(8)

NAME
pkgsync - Automated package synchronization tool SYNOPSIS
pkgsync DESCRIPTION
pkgsync is a tool for keeping multiple machines reasonably similar and clean. Packages can either be in a `must be installed', `may be installed' or `must not be installed' list (which is presumed to be distributed separately using a tool such as rdist or cfengine). pkgsync will take care of meeting the demands put down in the lists, and then removing everything that is not in the `must' or `may' list and is not necessary for their operations (as determined by aptitude). OPTIONS
-h, --help Print a short help text and exit. -s, --simulate Do everything as usual, but put aptitude in simulation mode, causing it to never do any changes (except update and autoclean, which should both be harmless) to your system. This is especially useful on a new system to make sure pkgsync behaves as expected. Note that aptitude prints out its intended actions _before_ running the conflict resolver. If there's a conflict somewhere, chances are that the results on your system will be different from what aptitude prints out. -k, --keep-unused Instruct aptitude to not remove cruft (ie. unused packages); this is morally equivalent to having an "*" entry in mayhave. -d, --dpkg-glob When encountering a wildcard pattern, pkgsync tries to `un-glob' it. Traditionally, this was done using dpkg -- however, in later versions one can use aptitude instead. Using aptitude is a little slower, but the syntax is a lot more flexible, supporting regular expressions and various searches on fields. Giving --dpkg-glob makes pkgsync use dpkg, which is not very useful except for backwards compatibility. -a, --aptitude-glob Use aptitude's globbing instead of dpkg's globbing (see above). This option is the default. SEE ALSO
/usr/share/doc/pkgsync/README.Debian (complete tutorial and reference documentation) AUTHOR
pkgsync is Copyright 2004-2007 Steinar H. Gunderson <sgunderson@bigfoot.com>. PKGSYNC(8)
Man Page