Re: Resend: API for retrieving linux lvm information

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

 



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
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux