[linux-lvm] File System type on (LVM) partition

Wichert Akkerman wichert at cistron.nl
Fri Jul 27 11:31:17 UTC 2001


Previously Julien Baboud wrote:
>  is there a way to know the file system type installed on a partition
> (wich could be of LVM type or not)

You completely missed our point. LVM is *not* a filesystem. It is a layer
you can put on top of physical storage, and on top of LVM you can create
logical volumes which contain filesystems.

Now if your real question is: how can you check if a block device (ie
a storage device) contains a PV (Physical Volume, the lowest layer in
a LVM setup) I suspect there is some magic value on the disk you could
check for.

Someone should probably write some file(1) magic for it :)

Wichert.

-- 
  _________________________________________________________________
 /       Nothing is fool-proof to a sufficiently talented fool     \
| wichert at wiggy.net                   http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |



More information about the linux-lvm mailing list