Re: mkinitcpio: fsck - Does it actually make sense?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 09.04.2013 23:41, schrieb Tom Gundersen:
> On Mon, Apr 8, 2013 at 10:45 PM, Karol Babioch <karol@xxxxxxxxxx> 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.


Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux