How to list partitions, which have the LVMs part. type
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
Signature · 5 lines
----------------------------------------------------------------------- Fabian Herschel SuSE Rhein/Main AG Tel: +49-6196-50951-23 Mergenthalerallee 45-47 Fax: +49-6196-409-607 D-65760 Eschborn mailto: [email protected] http://www.suse.de