Linux - fsck
What are the command line options for the fsck command?
- -p: preen the filesystem. Automatically perform repairs that do not change any file content (-g under IRIX)
- -n: answer no to all prompt
- -y: answer yes to all prompt
- -c: check the filesystem only if it is not clean (IRIX)
- -P: Preen only if dirty (Diginal Unix)
- -f: force check even if the filesystem is clean
- -b n: Use an alternative superblock located at block n (BSD syntax; 32 is always an alternative superblock)
- -b: remount the root filesystem (or reboot if necessary) if it was modified (System V)
- -F type: specifies the filesystem type
- -O: type-specific options
page revision: 0, last edited: 07 Apr 2016 05:04