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

Re: [linux-lvm] Resend: API for retrieving linux lvm information



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]