I am working on a system recovery utility, and using the 'fsck' command. Although this command has the option -a to attempt to fix ALL errors, there are still certain errors that it requests user input to fix. (Found this through rigorous testing using fsck)
Anybody know of a good way to feed 'yes | y' to the fsck command on the fly? I've also tried to pipe in the linux 'yes' command to fsck, but fsck doesn't like that.
Thanks for any feedback.
Hwood
Anybody know of a good way to feed 'yes | y' to the fsck command on the fly? I've also tried to pipe in the linux 'yes' command to fsck, but fsck doesn't like that.
Thanks for any feedback.
Hwood