View previous topic :: View next topic |
Author |
Message |
Tinitus Veteran
Joined: 20 Sep 2004 Posts: 1754
|
Posted: Tue Nov 13, 2012 6:24 pm Post subject: udev-194 no fsck on root Partition |
|
|
Hello,
since Update to gnome 3.6 I use udev-194. But there is noc fsck on Startup and/or Shutdown of my root Filesystem available. Because its already mounted.
I use the grub Option:
Code: | kernel /boot/kernel-genkernel-x86_64-3.6.6-gentoo real_root=/dev/sda8 devtmpfs.mount=0 | already but no change. |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Tue Nov 13, 2012 7:08 pm Post subject: |
|
|
add the option ro to mount / as read-only at boot time.
init/openrc will take care that it gets mounted as rw once the other partitions are mounted. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
Tinitus Veteran
Joined: 20 Sep 2004 Posts: 1754
|
Posted: Tue Nov 13, 2012 7:44 pm Post subject: |
|
|
Veldrin wrote: | add the option ro to mount / as read-only at boot time.
init/openrc will take care that it gets mounted as rw once the other partitions are mounted. |
Thanks for replay,
should this set at fstab?
I now find out that the /usr File System is also not checked. |
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Tue Nov 13, 2012 8:29 pm Post subject: |
|
|
no, to the kernel line.
could you post fstab to be sure?
the last 2 options in a fstab line are dump and pass. if pass is set to 0, then init will never run a fsck on that particular partition.
on the other hand, depending on the fs used, fsck might look somewhat different.
V. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
Tinitus Veteran
Joined: 20 Sep 2004 Posts: 1754
|
Posted: Tue Nov 13, 2012 8:31 pm Post subject: |
|
|
Veldrin wrote: | no, to the kernel line.
could you post fstab to be sure?
the last 2 options in a fstab line are dump and pass. if pass is set to 0, then init will never run a fsck on that particular partition.
on the other hand, depending on the fs used, fsck might look somewhat different.
V. |
Hello,
Code: | /dev/sda8 / ext4 noatime 0 1
/dev/sda5 /usr ext4 noatime 0 1 |
|
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Tue Nov 13, 2012 11:00 pm Post subject: |
|
|
looks correct.
though, ext4 only checks every 180 days or every ~30 mounts. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
|