>Forcing fsck on reboot in Ubuntu

>Forcing fsck on reboot in Ubuntu

>This works on Hardy and presumably well back

sudo touch /forcefsck
sudo reboot

2 thoughts on “>Forcing fsck on reboot in Ubuntu

  1. >There are many methods to do this.
    Every partition has the superblock containing, among other vital information, details the last time the file system has been checked and when the next check is due.

    sudo tune2fs -l "device" –> dumps superblock information

    sudo tune2fs -c "count" "device" –> sets the mount count check to "count" . If set to 4 , fsck has to be run after 4 mounts

    sudo tune2fs -C "count" "device" –> cheat, set the mount count to "count"

    sudo tune2fs -i 4w "device" –> run fsck after 4 weeks.

  2. It’s hard to find your articles in google. I found it on 20 spot, you should build quality
    backlinks , it will help you to get more visitors.
    I know how to help you, just search in google – k2 seo
    tricks

Leave a Reply

Your email address will not be published. Required fields are marked *