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

Re: [linux-lvm] determining lv from mount point



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



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