Linux - Troubleshooting: FS
Tips
Display FS with needed FSCK:
Procedures
Display ReadOnly FS
With /proc/mounts:
EXCLUDEFS="/sys/fs/cgroup /some/other/fs"
for mntpt in $(cat /proc/mounts |awk '{print $2}'); do
grep -qw $mntpt <<< $EXCLUDEFS && continue
[[ -w $mntpt ]] || echo -e "ro -- $mntpt"
done
With findmnt: