read bash?
Jan Eidtmann
cmak at lunar-linux.org
Mon Feb 12 18:21:04 CET 2007
On Mon, Feb 12, 2007 at 08:11:48 -0800
Auke Kok <sofar at foo-projects.org> wrote:
>Jan Eidtmann wrote:
>> On Sun, Feb 11, 2007 at 12:17:41 -0800
>> Auke Kok <sofar at foo-projects.org> wrote:
>>>
>>> I'm OK with the general idea, however I would like to see a separate LVM init.d
>>> script (installed through the LVM2 module) that handles the lvm code before
>>> mount does. That way we have a pluggable system and offload some logic to a new
>>> script in a safe place. It would be a lot cleaner as well.
>>>
>>> Do you think that might be feasable? Can you give it a try to make such a thing?
>>> It should be very simple of course...
>>>
>>>
>>> Auke
>>
>> vgscan and vgchange need /proc mounted.
>> seems like we have to mount proc (and maybe /dev too) in a
>> seperate mount script. that way we could have seperate init
>> scripts for lvm and cryptsetup (needs proc and dev). its
>> feasable for me.
>> we just move some of the code from mount to, say, sysmount,
>> where we mount proc and dev.
>
>hmmm, this starts to become very complex then. Perhaps /etc/init.d/mount wasn't
>the worst place for this code to sit then after all ;)
>
>Auke
its exactly the first 57 lines from start) in mount that
would move to sysmount. OTOH its only ~35 lines that would
be added to mount and nothing else needs a change...
/me too thinks it should just settle down to mount.
///
cmak
More information about the Lunar-dev
mailing list