Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
add fsck.ext4 to runlevel possible?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
WWWW
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2014
Posts: 143

PostPosted: Thu Dec 11, 2014 11:03 pm    Post subject: add fsck.ext4 to runlevel possible? Reply with quote

Hello,

Recently a ext4 partition crapped and had to run fsck.ext4 -y manually. But in case of a cold reboot would it be possible to add fsck.ext4 to a runlevel?

The idea is to have fsck.ext4 run automatically.

thanks
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Fri Dec 12, 2014 11:21 am    Post subject: Reply with quote

fsck should run automatically on every boot?
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
Apheus
Guru
Guru


Joined: 12 Jul 2008
Posts: 419

PostPosted: Fri Dec 12, 2014 3:55 pm    Post subject: Reply with quote

The last field in /etc/fstab is used to determine if and when to check a filesystem at boot time. Put the value "2" there for that filesystem.

Details: man fstab.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum