From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 101175,48f8106e4185b602 X-Google-Attributes: gid101175,public X-Google-Thread: 1164f8,174b356c3e2c0651 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-04-20 08:42:24 PST Xref: sparky comp.sys.dec:2645 alt.security:2794 Newsgroups: comp.sys.dec,alt.security Path: sparky!uunet!zaphod.mps.ohio-state.edu!mips!darwin.sura.net!gatech!psuvax1!uxa.ecn.bgu.edu!news.ils.nwu.edu!news.acns.nwu.edu!nucsrl!eecs.nwu.edu!phil From: phil@eecs.nwu.edu (William LeFebvre) Subject: Re: Kerberos (was Re: rsh) Message-ID: <1992Apr20.154224.9266@eecs.nwu.edu> Sender: news@eecs.nwu.edu (Mr. News) Organization: EECS Department, Northwestern University References: Date: Mon, 20 Apr 1992 15:42:24 GMT In article , geoff@world.std.com (Geoff Collyer) writes: |> Chris Siebenmann: |> >Warning: fsck -y can easily mangle your disks badly. |> |> Well, I wouldn't say "easily". It's a theoretical possibility, most |> likely to happen after some hardware failure has caused file system |> damage. In all the years that we ran fsck -y on V7 systems (utzoo and |> utcsstat, notably), I can't recall any file system problems made worse by |> fsck -y.o *I* have! We lost a whole bunch of home directories (for reasons I'd rather not explain). Unfortunately, fsck isn't smart enough to reattach subdirectories in tact, so every file in the entire tree had to be reattached (placed in lost+found). It didn't take long before lost+found filled up! Remember that fsck CAN'T extend the length of the lost+found directory. My only options were (1) let fsck remove the files and (2) leave them dangling (by answer no to all the questions), mount the file system, move files out of lost+found, then rerun fsck. Option 1 wasn't much of an option. I chose option 2. It was a looooong night. |> The temptation to use fsck -y these days is probably the result of |> increasingly wimpy fsck -p implementations. I've seen fsck -p scream |> "UNEXPECTED INCONSISTENCY" over a zero-length directory. Agreed. There are some pretty lame things that fsck -p doesn't want to fix. But I would never do an fsck -y in /etc/rc. And I would be very reluctant to do one even manually (unless I really had a good reason and I was convinced that it wouldn't cause any serious problems). William LeFebvre Computing Facilities Manager and Analyst Department of Electrical Engineering and Computer Science Northwestern University