[linux-lvm] How to list partitions, which have the LVMs part. type

Fabian Herschel Fabian.Herschel at suse.de
Fri Dec 10 11:16:00 UTC 1999


Only a very simple solution to list partitions, which can be used
for lvm:

 fdisk -l | awk '$5 ~ /8[Ee]/ { print $1 }' 

Greetings 
Fabian Herschel
-- 
-----------------------------------------------------------------------
Fabian Herschel                                 SuSE Rhein/Main AG     
Tel:    +49-6196-50951-23                       Mergenthalerallee 45-47
Fax:    +49-6196-409-607                        D-65760 Eschborn
mailto: Fabian.Herschel at suse.de                 http://www.suse.de      



More information about the linux-lvm mailing list