You are not logged in.

#1 2012-03-15 14:31:16

Lexworth
Member
Registered: 2012-01-19
Posts: 36

[SOLVED]fsck hook with new mkinitcpio.conf

Last night when I upgraded mkinitcpio it provided a new mkinitcpio.conf file as a pacnew. When comparing this new file to my previous config file the only difference I found was that the new one included the fsck hook. From what I've read it says that this hook is strongly recommended but only gives a reason for it if you have a separate /usr partition, which I do not. I have separate /boot, /swap, /, and /home partitions. Should I include this hook? Does it hurt? Doesn't matter?

Last edited by Lexworth (2012-03-15 14:52:47)

Offline

#2 2012-03-15 14:40:21

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]fsck hook with new mkinitcpio.conf

It definitely doesn't hurt to keep the fsck hook. See here for a little bit of background info.


Burninate!

Offline

#3 2012-03-15 14:52:01

Lexworth
Member
Registered: 2012-01-19
Posts: 36

Re: [SOLVED]fsck hook with new mkinitcpio.conf

Thanks Gcool, that makes it a little more clear.

Offline

#4 2012-03-15 15:10:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]fsck hook with new mkinitcpio.conf

You should have checked the wiki https://wiki.archlinux.org/index.php/Mkinitcpio#HOOKS too:

Adds the fsck binary and filesystem specific helpers. If added after the autodetect hook, only the helper specific to your root filesystem will be added. Usage of this hook is strongly recommended, and it is required with a separate /usr partition.

Offline

#5 2012-03-15 15:19:08

Lexworth
Member
Registered: 2012-01-19
Posts: 36

Re: [SOLVED]fsck hook with new mkinitcpio.conf

karol wrote:

You should have checked the wiki https://wiki.archlinux.org/index.php/Mkinitcpio#HOOKS too:

Adds the fsck binary and filesystem specific helpers. If added after the autodetect hook, only the helper specific to your root filesystem will be added. Usage of this hook is strongly recommended, and it is required with a separate /usr partition.

I did check the wiki. I mentioned what I had gathered from my reading in my original post, perhaps you should have read it. I then went on to explain that this didn't give much indication for including the fsck hook without a separate /usr partition. So I came here (Newbie Corner) to ask if someone could help me with my understanding, which Gcool was so kind enough to do.

Offline

#6 2012-03-15 15:42:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]fsck hook with new mkinitcpio.conf

Lexworth, the link Gcool provided is in the wik ...
https://wiki.archlinux.org/index.php/Mk … _partition

Offline

#7 2012-03-15 16:06:35

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED]fsck hook with new mkinitcpio.conf

wiki wrote:

If you keep /usr as a separate partition, you must adhere to the following requirements[1]

That hardly screams "follow this link to have the fsck hook explained".


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

Board footer

Powered by FluxBB