read bash?

Auke Kok sofar at foo-projects.org
Mon Feb 12 17:11:48 CET 2007


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


More information about the Lunar-dev mailing list