Bug#461103: initscripts: unnecessary use of find | xargs

2008-01-20 Thread Petter Reinholdtsen
[Alvaro Herrera]
 The bootclean.sh script is currently using find | xargs rm, and find
 | xargs rmdir.  This could be improved by using find -delete, which
 is present since findutils version 4.2.3.  Etch has findutils 4.2.28
 so this doesn't add an unnecessary extra dependency.

I agree.  Patches welcome.  It would also be interesting to know if
this affect the boot speed or not.

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#461103: initscripts: unnecessary use of find | xargs

2008-01-16 Thread Alvaro Herrera
Package: initscripts
Version: 2.86.ds1-47
Severity: wishlist


The bootclean.sh script is currently using find | xargs rm, and find |
xargs rmdir.  This could be improved by using find -delete, which is
present since findutils version 4.2.3.  Etch has findutils 4.2.28 so
this doesn't add an unnecessary extra dependency.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  debianutils  2.28.2  Miscellaneous utilities specific t
ii  e2fsprogs1.40.3-1ext2 file system utilities and lib
ii  libc62.7-5   GNU C Library: Shared libraries
ii  lsb-base 3.1-24  Linux Standard Base 3.1 init scrip
ii  mount2.13-8  Tools for mounting and manipulatin
ii  sysvinit-utils   2.86.ds1-47 System-V-like utilities

Versions of packages initscripts recommends:
ii  psmisc22.6-1 Utilities that use the proc filesy

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]