on Sat, May 05, 2001 at 04:26:09AM -0400, Benjamin Black ([EMAIL PROTECTED])
wrote:
hello everyone,
recently for some unknown reason my /usr partition was corrupted.
running it through fsck, i answered 'y' to fix many, many errors. my
system now appears to be fine, however there are scattered files that
had their permissions, sizes, owners, etc. changed to various strange
things. as i've been updating packages, i'm finding these files and
fixing them, but i'm wondering if there might be a faster way. dpkg
--audit seems to only check for the existence of files, not their
correct sizes/permissions/etc. does anyone know of a way to do a
thorough audit of all installed packages, short of manually
uninstalling/reinstalling them?
debsums, as suggested.
Note that reinstalling packages isn't all that difficult -- you'd want
to list your current Debian packages and do a reinstall on each.
More concerning is why the disk went bad in the first place. In the
case of storage, it's fool me twice, shame on me.
I'd archive off the /usr partition, run a badblocks test on it (with
overwrite -- which is why you're archiving), preferably several times.
If anything goes wrong, toss the disk.
If the test runs OK, but you see any problems later, treat the drive as
defective.
Storage is cheap. Data is dear.
Cheers.
--
Karsten M. Self kmself@ix.netcom.comhttp://kmself.home.netcom.com/
What part of Gestalt don't you understand? There is no K5 cabal
http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org
pgp25exxDo2Fv.pgp
Description: PGP signature