Hacker News new | past | comments | ask | show | jobs | submit login

If you ever had to repair a disk using fsck when it had hundreds of errors, you would understand why yes(1) was created.



Wouldn't it be better to use dd with something like /dev/zeros instead?


The idea is that you pipe `yes | fsck` to answer yes to all questions.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: