Gentoo Archives: gentoo-dev

From: Paul <set@×××××.com>
To: gentoo-dev@g.o
Subject: [gentoo-dev] LVM2 and 2.5
Date: Sun, 03 Nov 2002 02:56:55
Message-Id: 20021103085646.GF20069@squish.home.loc
1 Hi;
2
3 I see in the 1.4rc init scripts that they check
4 for eg. 'if [ -x /sbin/vgscan -a -d /proc/lvm ]'
5 Now, after booting 2.5.45-mcp2, I find that there is
6 no /proc/lvm. And I dont see anyone using /proc/lvm in
7 the init scripts, so perhaps this test is bad. (If you
8 install the lvm2 tools, vgscan and vgchange work fine
9 on the existing disk...) Seems like simply testing the
10 output of vgscan if it exists will give you the
11 information required...
12
13 Paul
14 set@×××××.com