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

[linux-lvm] 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
-- 
-----------------------------------------------------------------------
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 suse de                 http://www.suse.de      


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