View previous topic :: View next topic |
Author |
Message |
WWWW Tux's lil' helper

Joined: 30 Nov 2014 Posts: 143
|
Posted: Thu Dec 11, 2014 11:03 pm Post subject: add fsck.ext4 to runlevel possible? |
|
|
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 |
|
 |
massimo Veteran


Joined: 22 Jun 2003 Posts: 1226
|
Posted: Fri Dec 12, 2014 11:21 am Post subject: |
|
|
fsck should run automatically on every boot? _________________ Hello 911? How are you? |
|
Back to top |
|
 |
Apheus Guru

Joined: 12 Jul 2008 Posts: 422
|
Posted: Fri Dec 12, 2014 3:55 pm Post subject: |
|
|
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 |
|
 |
|