Tag: fsck

Force fsck on the next boot sequence

เมื่อต้องการให้ Linux ทำ file system check ทุก partition หลังจากที่ได้ reboot แล้ว สามารถทำได้โดยใช้คำสั่งดังนี้ (root user) สร้างไฟล์ /forcefsck ที่ root directory เพื่อบังคับให้ reboot หรือ เปิดเครื่องครั้งต่อไปทำการ full file system check สร้างไฟล์ /forcefsck ด้วยคำสั่ง…