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

Pierre Lamb plamb_98 at yahoo.com
Fri Jul 27 12:18:01 UTC 2001


I believe the stand ext2 is 83 and lvm is 8e so one
could check for those values

Pierre
--- Wichert Akkerman <wichert at cistron.nl> wrote:
> 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 |
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at
http://www.sistina.com/lvm/Pages/howto.html


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



More information about the linux-lvm mailing list