Force fsck on the next boot sequence
เมื่อต้องการให้ Linux ทำ file system check ทุก partition หลังจากที่ได้ reboot แล้ว สามารถทำได้โดยใช้คำสั่งดังนี้ (root user)
-
สร้างไฟล์ /forcefsck ที่ root directory เพื่อบังคับให้ reboot หรือ เปิดเครื่องครั้งต่อไปทำการ full file system check
-
สร้างไฟล์ /forcefsck ด้วยคำสั่ง
[root@Ezylinux ~]# touch /forcefsck -
reboot the system
[root@Ezylinux ~]# reboot
-
-
ใช้คำสั่ง shutdown ด้วย option -F เพื่อ force fsck
[root@Ezylinux ~]# shutdown -rF now