Share:
Notifications
Clear all

forcefsck

1 Posts
1 Users
0 Reactions
1,670 Views
(@kustar)
Posts: 82
Trusted Member
Topic starter
 

The forcefsck command creates a file named forcefsck in the root directory of your filesystem. This file serves as a signal to the system to perform a filesystem check (fsck) during the next boot.

To create the forcefsck file, you can use the following command:

sudo touch /forcefsck

After creating this file, when you reboot your Ubuntu system, it will automatically run a filesystem check before the operating system loads. This can help identify and fix any filesystem errors or inconsistencies.

 
 
 

 
 
 
Posted : 13/05/2024 11:48 pm
Share: