Re: /usr is not mounted. This is not supported.

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



On Tue, Oct 25, 2011 at 6:31 PM, Thomas Bächler <thomas@xxxxxxxxxxxxx> wrote:
> Am 25.10.2011 17:51, schrieb Tom Gundersen:
>> This is what I had in mind:
>> <https://github.com/teg/mkinitcpio/commit/76dacf8b9de9cc0409741840b1d8e449862fc846>.
>
> Just two problems:

Good points.

> 1) You overmount the initramfs' /usr for a short time. Nobody knows what
> that might lead to.

1) This was a bit of a hack, need to look into doing it right
(mounting with a "prefix").

> 2) You mount /usr in read-write mode, this will conflict with fsck.

2) We should probably fsck bouth /usr and / before mounting them in
the initramfs (doesn't really make sense to boot from a potentially
broken disk, only to fsck it afterwards with a fsck binary stored on
the disk itself...). Otherwise, we could just mount /usr ro and
remount rw in rc.sysinit.

-t


[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