[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [linux-lvm] how to determine if /dev/... is an LV?
- From: Harald Milz <hmilz linux-magazin de>
- To: linux-lvm sistina com
- Subject: Re: [linux-lvm] how to determine if /dev/... is an LV?
- Date: Thu, 23 Aug 2001 17:48:53 +0200 (CEST)
In article <20010822034425 F8742 pc ilinx>, Brian J. Murrell <6888736b923846176364586bf2e7649f interlinx bc ca> wrote:
> lvdisplay -D -c /dev/VG/lvol1 2>&1 | grep "^/dev/VG/lvol1" >/dev/null
lvdisplay -D -c /dev/VG/lvol1 2>&1 | grep -q ^/dev/VG/lvol1 && do whatever
you want :-)
--
Harald Milz | hm linux-magazin de | "He was a modest,
Linux New Media AG | phone +49 (0) 89 993411-20 | good-humored boy. It
Stefan-George-Ring 24 | fax +49 (0) 89 993411-99 | was Oxford that made
D-81929 Muenchen | http://www.linux-magazin.de | him insufferable."
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]