Regular FSCK Required ?
Don Libes
libes at cme.nist.gov
Thu Mar 28 13:08:16 AEST 1991
In article <126605 at uunet.UU.NET> rbj at uunet.UU.NET (Root Boy Jim) writes:
>In article <11004 at dog.ee.lbl.gov> torek at elf.ee.lbl.gov (Chris Torek) writes:
>?In article <1991Mar15.095247.13441 at thunder.mcrcim.mcgill.edu>
>?mouse at thunder.mcrcim.mcgill.edu (der Mouse) writes:
>?>Unfortunately this is not always what you want. I would *really* like
>?>an option to fsck that automatically answers "yes" to "CONTINUE?"
>?>messages and "no" to all others.
For sites that don't have Karel's fix, here's an expect script to do it.
spawn fsck
for {} 1 {} {
expect "*CONTINUE?*" {send "y\r"} \
"*?*" {send "n\r"} \
eof {exit}
}
>Cannot read superblock: CONTINUE?
I would've liked it better if the message read:
Cannot continue: CONTINUE?
Don Libes libes at cme.nist.gov ...!uunet!cme-durer!libes
More information about the Comp.unix.questions
mailing list