tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: RC dependencies and LVM
On Thu, 16 Apr 2009 00:58:50 +0200
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> Hi all,
> attached is a patch to change the dependencies during early boot.
> The current mechanism runs all disk scripts before swap is configured.
> swap itself is required by fsck, which in turn is required to mount
> the root filesystem. This is bad for LVM as it needs a writable /dev.
>
> The patch splits things up:
> First, fsck of / and mounting it.
> Second, run the "DISKS" scripts.
> Third, setup swap and fsck.
> Fourth, mount other local filesystems.
>
> Other effects of the patch:
> - run wdogctl before mounting root
> - run rndctl after wdogctl, but before disks and cgd
>
> Comments? Testers?
>
> Joerg
>
We have been just discussing this issue with haad, and your solution seems very
good. I will try to have a closer look tomorrow. :-)
--
Adam Hoka <adam.hoka%gmail.com@localhost>
Adam Hoka <ahoka%NetBSD.org@localhost>
Adam Hoka <ahoka%MirBSD.de@localhost>
Home |
Main Index |
Thread Index |
Old Index