Package: readahead
Version: 1:0.20050517.0220-2
Severity: wishlist
see $title, a monthly cron job checking for the existence of all the
files could be useful, e.g.,
# check-readahead-list
$^W = 1;
use strict;
my @notfound;
if ( -r "/etc/readahead/root" ) {
open(ROOT,"</etc/readahead/root") or die("Cannot open /etc/readahead/root:
$!\n");
while (<ROOT>) {
push @notfound, $_ unless -r;
}
close(ROOT);
}
if (@notfound) {
print "The following files are listed in /etc/readahead/root but do not
exist:\n";
foreach (@notfound) { print "$_\n"; }
}
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-rc7 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages readahead depends on:
ii libc6 2.7-6 GNU C Library: Shared libraries
readahead recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]