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

Bug#335230: [#335230] How to actually support EVMS in an initrd



On Sat, Oct 22, 2005 at 09:54:54PM +0200, Steinar H. Gunderson wrote:
> On Sat, Oct 22, 2005 at 09:47:12PM +0200, Marco Amadori wrote:
> >>  - Make sure /dev/ is writable, and mkdir /dev/evms.
> > Translate this in perl plz :-)
> 
> Well, the "make sure" part depends on how yaird works. You may have to mount
> a tmpfs over /dev/evms if the initrd is read-only. (This is during _boot_
> time, BTW; running /sbin/evms_activate at yaird time will help you nothing.)

Agreed.

Note: the initramfs generated by yaird has a writable /dev at an
early stage.

As an aside: there will be one case where the tryEvms() function will need
to enable a disk even though root is not evms: the case where swap
is used for swsusp, swap is on evms and root is not.

--erik



Reply to: