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

Bug#248787: installation-reports



On Thu, 2004-05-13 at 11:04, Martin Michlmayr wrote:
> * Andres Salomon <dilinger@voxel.net> [2004-05-13 10:57]:
> > This is definitely not available in 2.6.  The way I've historically
> > checked for the existence of lvm driver support in 2.6 has been with:
> > 
> > grep "[0-9] device-mapper$" /proc/misc
> 
> But does this work under 2.4?  Hmm, yeah, seem so.
> 
> 574:tbm@unjust: ~] cat /proc/misc
>  63 device-mapper
> 134 apm_bios
> 135 rtc
>   1 psaux
> 575:tbm@unjust: ~] uname -a
> Linux unjust.cyrius.com 2.4.26-1-686 #3 Sun Apr 18 21:17:21 EST 2004 i686 GNU/Linux
> 576:tbm@unjust: ~]

Yes, it works for all kernel versions using device-mapper.  Does d-i
allow you to pick whether to use lvm10 or lvm2?  If so, then you'll need
to keep your lvm10 check for /proc/lvm, and add the additional
/proc/misc dm check for lvm2.  If d-i always uses lvm2, then checking
/proc/misc (regardless of kernel version) should always work.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: