Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
17
rated 0 times [  17] [ 0]  / answers: 1 / hits: 23280  / 3 Years ago, thu, july 8, 2021, 2:52:52

My ubuntu system just froze, and I was forced to run the REIUSB commands. Now, in windows, you can run chdsk. I've read about "touch /forcefsck", but I have also read that's is dangerous to check a mounted filesystem.



Will "touch /forcefsck" check the disks mounted? Is "touch /forcefsck" safe? Will it automatically fix the errors? Where will my corrupt file go?



Thanks in advance!


More From » fsck

 Answers
7

touch /forcefsck simply creates a file /forcefsck. This file will cause the system to run fsck on the next reboot before the filesystem is mounted. Its similar to when you try to run chkdsk in Windows and it says it can't but it will do it on the next reboot.



So its pretty safe and with any luck it will fix your problem.


[#24827] Friday, July 9, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
sigtestim

Total Points: 298
Total Questions: 108
Total Answers: 106

Location: Bermuda
Member since Thu, Apr 20, 2023
1 Year ago
;