Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jun 2001 19:05:08 -0700 (PDT)
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/lpr/lpc cmds.c cmdtab.c extern.h lpc.8 lpc.c lpc.h
Message-ID:  <200106250205.f5P258K40373@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
gad         2001/06/24 19:05:08 PDT

  Modified files:
    usr.sbin/lpr/lpc     cmds.c cmdtab.c extern.h lpc.8 lpc.c 
                         lpc.h 
  Log:
  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
  
  Revision  Changes    Path
  1.17      +286 -22   src/usr.sbin/lpr/lpc/cmds.c
  1.4       +21 -17    src/usr.sbin/lpr/lpc/cmdtab.c
  1.5       +7 -4      src/usr.sbin/lpr/lpc/extern.h
  1.13      +25 -2     src/usr.sbin/lpr/lpc/lpc.8
  1.19      +11 -3     src/usr.sbin/lpr/lpc/lpc.c
  1.4       +7 -5      src/usr.sbin/lpr/lpc/lpc.h


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106250205.f5P258K40373>