From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 21 Dec 2000 09:04:37 +0000 From: Patrick Caulfield Subject: Re: [linux-lvm] '/etc/init.d/lvm' script in debian package Message-ID: <20001221090437.D511@tykepenguin.com> References: <0012210840470T.08762@lyta> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: ; from dice@mfa.kfki.hu on Thu, Dec 21, 2000 at 09:37:58AM +0100 Sender: linux-lvm-admin@sistina.com Errors-To: linux-lvm-admin@sistina.com Reply-To: linux-lvm@sistina.com List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@sistina.com Cc: Russell Coker On Thu, Dec 21, 2000 at 09:37:58AM +0100, Gergely Tamas wrote: > > A few ideas ... > 1) if LVM is compiled into the kernel and /boot/System.map is reachable, > than it could be detected using e.g. 'grep lvm System.map' > > 2) if /usr/src/kernel/.config is reachable, than it could be detected > using e.g. 'grep -i lvm .config' > > 3) maybe doing a check for directories countaining 'group' in /dev would > be a usable idea... How about looking in /proc/devices for the lvm block & char devices ? patrick