fsck on archlinux
Posted: Mon May 13, 2019 8:02 am
How can i do it before mounting?I am using armv7 rasp pi 3
first I typed
tune2fs -c 1 /dev/mmcblk0p2
and this is /etc/fstab
when use
i cant see that fsck is done.
Also I tried
and same result with tune2fs.
first I typed
tune2fs -c 1 /dev/mmcblk0p2
and this is /etc/fstab
Code: Select all
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 ro 0 1
Code: Select all
tune2fs -l /dev/mmcblk0p2Also I tried
Code: Select all
touch /forcefsck
shutdown -Fr now