Re: determining lv from mount point

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

 



Montgomery, Kendal L <kendal.montgomery@qwest.com> wrote:

> Well.. The reason I say to do it this way is because lvdisplay doesn't
> seem to give an "error" code on return (it's always 0) when it's not a
> logical volume.  It does display an error message that you'd have to
> parse the output for a specific error message.

I just tried lvdisplay, and now I see what you mean.  I misinterpreted
the lvdisplay man page, thinking I'd get an error on non-lvm paths.

Thanks very much for your help.

galen

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.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