0

If I ran this command

#fsck

without arguments or options. Will it delete everything?

Rup
  • 33,765
  • 9
  • 83
  • 112
user2164574
  • 9
  • 1
  • 6

1 Answers1

3

Normally, fsck will not cause any harm, unless you try to run it over mounted filesystem.

fsck over mounted filesystem will ask you if you want to proceed. And if you force it to proceed, then it is most likely to be very destructive. I have seen other people to use fsck this way and completely thrash Linux to the point that reinstall was necessary.

mvp
  • 111,019
  • 13
  • 122
  • 148
  • When I ran it, no prompt showed up. After that I go to the root directory and found that there is no file or directory. – user2164574 May 31 '13 at 09:37