[arch-general] mkinitcpio: fsck - Does it actually make sense?

Thomas Bächler thomas at archlinux.org
Wed Apr 10 04:17:50 EDT 2013


Am 09.04.2013 23:41, schrieb Tom Gundersen:
> On Mon, Apr 8, 2013 at 10:45 PM, Karol Babioch <karol at babioch.de> wrote:
>> I'm wondering whether it makes actually sense to include the fsck hook
>> into the initial ramdisk.syt
> 
> In case your filesystem needs fsck before being mounted (i.e., it is
> not btrfs), then the sane thing to do is to first fsck it, and then
> mount it; not to first mount it read-only, then fsck it and then
> remount it rw.

Even better, you can get rid of all remounting logic and mount your file
system read-write from the start. Saves you some fraction of a second of
boot time.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20130410/de0e25dd/attachment-0001.asc>


More information about the arch-general mailing list