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

Bug#365747: Fwd: [patch ] Add /dev/mapper in all cases needed in bsae-installer

On Wed, May 03, 2006 at 02:29:37PM -0400, Joey Hess wrote:
> > +		if pvdisplay | grep -iq "physical volume ---"; then
> > +			apt-install lvm2
> > +			mount -t proc proc /target/proc
> > +			chroot /target vgscan --mknodes || true
> > +			umount /target/proc

> Doesn't lvm 1 work without device-mapper? If so then the pvdisplay if block
> should be moved to outside the other if block. Doing so seems safe
> anyway.

I really have 0 experience over lvm. However, this block explictly
installs lvm2, so it would be safe to assume that this block of code
is inteded to be used with lvm2? 

Reply to: