freebsd-dev/usr.sbin
Garance A Drosehn 004c9c5da2 Make 'lpc clean' somewhat safer. Add an 'lpc tclean' command, which allows
one to see what files would be removed *if* an 'lpc clean' is done.  'tclean'
will remove no files, and is therefore not a privileged command.  Also, both
'lpc clean' and 'lpc tclean' will now look for 'core' files in spool directories
(but not remove them).  They also print out an extra line of info when a
datafile to be removed is a symlink (from 'lpr -s'), saying what file it is
a symlink to.

The 'lpc clean' commands also now print out a summary line saying how many
queues were checked, how many files were removed (or "would be" removed, for
tclean), and how much disk space is involved.  For the benefit of those who
have many print queues, 'lpc clean all' will only print out the names of print
queues where some "interesting" files were found, instead of printing out a
header-line for every queue in your printcap file.

Reviewed by:	freebsd-print@bostonradio.org  freebsd-audit@FreeBSD.org
MFC after:	2 weeks
2001-06-25 02:05:03 +00:00
..
ac Constify and set WARNS=2. 2001-06-24 18:41:30 +00:00
accton - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
acpi Remove double //'s in path. 2001-06-02 19:09:37 +00:00
adduser Fix the rmuser script to correctly determine if a user does not exist. 2001-05-02 13:30:42 +00:00
amd msdos -> msdosfs 2001-06-04 13:08:54 +00:00
ancontrol MFC candidate 2001-03-30 16:32:52 +00:00
apm - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
apmd Add battery state monitoring to apmd. 2001-05-15 05:13:45 +00:00
arp - Renamed the `proxy'' modifier of the -d flag to `pub'', 2001-06-07 12:35:53 +00:00
atm Backout removal of -I${.CURDIR}/../../../sys in previous revision. 2001-06-11 17:48:15 +00:00
boot0cfg - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
boot98cfg Constify and set WARNS=2. 2001-06-24 18:51:40 +00:00
bootparamd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
btxld - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
burncd Change to spell erasing right. 2001-05-30 08:13:39 +00:00
cdcontrol Add the 'next' and 'prev' commands (aliased to '+' and '-') which skip 2001-05-25 09:24:50 +00:00
chkgrp Constify, staticize and add a missing include; add WARNS?=2. 2001-06-24 12:38:28 +00:00
chown Starting with 5.0-R, do not support `.' as a owner / group delimiter. 2001-05-31 19:30:19 +00:00
chroot - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ckdist - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
config - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
cron Where is the pointy hat? Fix cut/paste error. (hey, it compiled! :-) 2001-06-16 03:16:52 +00:00
crunch Use 'LIBS+= ...' instead of 'LIBS= ...' in the generated makefile 2001-06-20 23:21:02 +00:00
ctm * fix ctm(8) to use mkstemp() instead of tempnam() for tempfile 2001-05-06 03:03:45 +00:00
dev_mkdb - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
devinfo Fixed missing DPADD. 2001-05-12 14:34:46 +00:00
digictl o Add a -a flag for changing/getting the ALTPIN setting for a digi port. 2001-06-20 14:52:20 +00:00
diskcheckd remove -g -O0, that was only for debugging... 2001-06-23 19:24:18 +00:00
diskpart - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
dpt - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
edquota - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
elf2exe - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
extattrctl Fix LDADD and add missing DPADD. 2001-03-27 16:45:16 +00:00
faithd Sync with recent KAME. 2001-06-11 12:39:29 +00:00
fdcontrol Part #2 of the <machine/ioctl_fd.h> => <sys/fdcio.h> move: handle the 2001-06-06 06:16:19 +00:00
fdformat Part #2 of the <machine/ioctl_fd.h> => <sys/fdcio.h> move: handle the 2001-06-06 06:16:19 +00:00
fdread Part #2 of the <machine/ioctl_fd.h> => <sys/fdcio.h> move: handle the 2001-06-06 06:16:19 +00:00
fdwrite Part #2 of the <machine/ioctl_fd.h> => <sys/fdcio.h> move: handle the 2001-06-06 06:16:19 +00:00
getextattr Xref to extattr(2) and extattr(3). 2001-06-24 23:59:22 +00:00
gifconfig Nuke unused variables. 2001-06-24 23:41:57 +00:00
i4b PR: bin/26817 2001-06-05 15:16:45 +00:00
ifmcstat Nuke unused variables. 2001-06-24 23:41:57 +00:00
inetd Don't add -Wall, as it's a compiler specific flag. 2001-06-24 09:20:42 +00:00
iostat Removed -I${.CURDIR}/.../sys from CFLAGS. 2001-05-18 13:41:42 +00:00
ipftest Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
ipresend Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
ipsend Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
iptest Pick up the correct headers from sys/contrib/ipfilter/netinet. 2001-06-18 15:55:28 +00:00
IPXrouted - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
jail Add missing includes and sort includes. 2001-06-24 20:28:19 +00:00
kbdcontrol - Syncronizes command line syntax warnings with manpage (bin/27010); 2001-05-29 13:59:02 +00:00
kbdmap beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
kernbb Nuke unused variables. 2001-06-24 23:41:57 +00:00
keyadmin - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
keyserv Nuke unused variables. 2001-06-24 23:41:57 +00:00
kgmon - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
kgzip * include/elf.h has been repo copied to include/elf-hints.h, and it no 2001-05-02 23:56:21 +00:00
lastlogin Include stdlib.h for exit(3). 2001-06-24 20:05:30 +00:00
lpr Make 'lpc clean' somewhat safer. Add an 'lpc tclean' command, which allows 2001-06-25 02:05:03 +00:00
lptcontrol Constify, add a prototype, and set WARNS=2. 2001-06-24 18:43:33 +00:00
mailstats - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mailwrapper You can't free a string and then use it as the error message to 2001-06-04 04:22:57 +00:00
makemap - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
manctl beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
memcontrol Nuke unused variables. 2001-06-24 23:41:57 +00:00
mergemaster Work around the problem in RELENG_4 where the file doesn't actually 2001-06-20 07:15:38 +00:00
mixer Change the behaviour of mixer slightly such that not explicitly specifying 2001-04-09 11:10:34 +00:00
mld6query Sync with recent KAME. 2001-06-11 12:39:29 +00:00
mlxcontrol - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mount_nwfs - sys/n[tw]fs moved to sys/fs/n[tw]fs 2001-05-26 11:57:45 +00:00
mount_portalfs Actually rename FDESC, PORTAL, UMAP and UNION file systems. 2001-05-24 15:20:11 +00:00
mountd Correct cross-reference: 2001-06-07 16:59:19 +00:00
moused Nuke unused variables. 2001-06-24 23:41:57 +00:00
mptable - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
mrouted Remove spurious extra format string argument. 2001-04-17 07:32:37 +00:00
mtest Include missing header files which define functions for which gcc has 2001-06-24 20:25:23 +00:00
mtree - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
named - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
named.reload This program uses ndc(8); it doesn't send a signal itself. 2001-06-14 04:28:45 +00:00
named.restart Start the correct copy of named (pass ${named_program} to ndc(8)). 2001-06-14 04:34:40 +00:00
ndc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ndp Sync with recent KAME. 2001-06-11 12:39:29 +00:00
newsyslog Fix a grammar bogon. 2001-04-02 06:21:13 +00:00
nfsd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
ngctl - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
nghook Correct cross-references: 2001-06-05 12:40:03 +00:00
nologin beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
nslookup - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
nsupdate Link against libbind (library and headers) 1999-11-30 06:16:46 +00:00
ntp - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
pccard Remove duplicate words. 2001-06-24 01:34:38 +00:00
pciconf Support a range of registers to read. 2001-05-31 18:31:43 +00:00
pcvt mdoc(7) police: misc. markup fixes in the DIAGNOSTICS section. 2001-04-13 20:43:59 +00:00
periodic mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
pkg_install Fix usage bogon (-d doesn't take any arguments). 2001-06-13 21:34:12 +00:00
pnpinfo - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ppp Avoid using too many args for ``set m[tr]u'' 2001-06-20 19:55:58 +00:00
pppctl mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
pppd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
pppstats - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
praliases - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
prefix Sync with recent KAME. 2001-06-11 12:39:29 +00:00
procctl - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
pstat Nuke unused variables. 2001-06-24 23:41:57 +00:00
pw Include missing header files which define functions for which gcc has 2001-06-24 20:25:23 +00:00
pwd_mkdb - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
quot Remove ncheck in an example; FreeBSD does not have it. 2001-06-16 09:05:24 +00:00
quotaon Include missing header files which define functions for which gcc has 2001-06-24 20:25:23 +00:00
rarpd Add a -d command-line option; when used in conjunction with -f, rarpd 2001-06-18 06:48:33 +00:00
raycontrol Off by one in counting the number of MIB entries. 2001-05-03 20:58:22 +00:00
repquota Print "-" instead of "" in the grace field if there is no grace 2001-06-19 00:47:24 +00:00
rip6query Sync with recent KAME. 2001-06-11 12:39:29 +00:00
rmt - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
route6d Sync with recent KAME. 2001-06-11 12:39:29 +00:00
rpc.lockd Distinguish between rpc version numbers in the client cache to avoid 2001-04-28 04:26:32 +00:00
rpc.statd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rpc.umntall Fix warning (and obviously broken code) 2001-06-16 07:15:48 +00:00
rpc.yppasswdd Correct a typo in an error message. 2001-06-16 23:15:15 +00:00
rpc.ypupdated Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and 2001-03-19 12:50:13 +00:00
rpc.ypxfrd - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rpcbind Clean up the addrmerge() function, which was over-complicated and 2001-06-24 15:03:06 +00:00
rrenumd Sync with recent KAME. 2001-06-11 12:39:29 +00:00
rtadvd Sync with recent KAME. 2001-06-11 12:39:29 +00:00
rtprio - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
rtsold Sync with recent KAME. 2001-06-11 12:39:29 +00:00
rwhod - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sa - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sade Supported to select a keymap for PC-98x1. 2001-06-17 03:13:48 +00:00
sendmail - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
setextattr Xref to extattr(2) and extattr(3). 2001-06-24 23:59:22 +00:00
setkey Sync with recent KAME. 2001-06-11 12:39:29 +00:00
sgsc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sicontrol - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sliplogin Nuke unused variables. 2001-06-24 23:41:57 +00:00
slstat - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
spkrtest beforeinstall -> SCRIPTS. 2001-04-07 11:21:35 +00:00
spray Include missing header files. 2001-06-24 20:26:00 +00:00
stallion - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
sysinstall Increase the buffer sizes for the build deps, run deps, and the line 2001-06-22 21:47:55 +00:00
syslogd Note that -a is ignored if -s is also specified. 2001-06-06 12:48:22 +00:00
tcpdchk - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
tcpdmatch - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
tcpdump Style changes. Not purfect, but closer to other Makefiles in the tree. 2001-04-20 17:30:12 +00:00
timed Patches from OpenBSD: 2001-05-09 08:37:18 +00:00
traceroute Fetch the default maximum TTL value from the net.inet.ip.ttl MIB. 2001-06-06 16:12:59 +00:00
traceroute6 Sync with recent KAME. 2001-06-11 12:39:29 +00:00
trpt mdoc(7) police: properly use a -diag list in the DIAGNOSTICS section. 2001-04-13 19:59:47 +00:00
tzsetup Remove -Wall. It breaks compiling with non-gcc compilers. 2001-04-05 20:52:33 +00:00
usbd Removed -I${.CURDIR}/.../sys from CFLAGS. 2001-05-18 13:41:42 +00:00
usbdevs Removed -I${.CURDIR}/.../sys from CFLAGS. 2001-05-18 13:41:42 +00:00
vidcontrol Add a comma between the two names in the CONTRIBUTERS section. 2001-06-10 00:23:05 +00:00
vipw Don't pass NULL to the %s format. 2001-04-22 03:00:09 +00:00
vnconfig Include missing header files which define functions for which gcc has 2001-06-24 20:25:23 +00:00
watch Replace an instance of the "watch" word with the ".Nm" macro: it is used to 2001-05-04 23:27:30 +00:00
wicontrol - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
wlconfig Spelling fix ("independantly" -> "independently") 2001-06-06 19:07:03 +00:00
xten - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
yp_mkdb - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
ypbind Nuke unused variables. 2001-06-24 23:41:57 +00:00
yppoll Include missing header files which define functions for which gcc has 2001-06-24 20:25:23 +00:00
yppush Initialize the sa_flags member of an auto struct sigaction variable. 2001-06-06 21:08:15 +00:00
ypserv The aliases file now lives in /etc/mail/. 2001-05-15 15:58:30 +00:00
ypset - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
zic - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00
Makefile Add diskcheck-daemon. 2001-06-03 20:02:03 +00:00
Makefile.inc - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:42:20 +00:00