[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] Resend: API for retrieving linux lvm information
- From: Alasdair G Kergon <agk redhat com>
- To: Stanley Yue <stanley yue gmail com>, LVM general discussion and development <linux-lvm redhat com>
- Cc:
- Subject: Re: [linux-lvm] Resend: API for retrieving linux lvm information
- Date: Wed, 8 Sep 2004 10:35:18 +0100
On Tue, Sep 07, 2004 at 06:39:24PM -0700, Stanley Yue wrote:
> As far as the parsing goes, is it better (in terms of compatibility,
> output stability) to parse against the command line output (i.e.
> lvdisplay) or against the /proc/filesystems (i.e.
> /proc/lvm/VGs/vg00/LVs)?
My answer was for LVM2.
Looks like you're using LVM1.
To simplify your future upgrade you should consider using LVM2 tools
lvs/pvs/vgs read-only even on an LVM1 installation as their output is
designed to be easy to parse.
Alasdair
--
agk redhat com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]