All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] File System type on (LVM) partition
@ 2001-07-27  7:08 Julien Baboud
  2001-07-27  8:25 ` Benoit SERRA
  2001-07-27 11:31 ` Wichert Akkerman
  0 siblings, 2 replies; 6+ messages in thread
From: Julien Baboud @ 2001-07-27  7:08 UTC (permalink / raw)
  To: linux-lvm

hi,

 the different answers of my previously sent question had nothing to to
with what i expected,
 so i do it once again :

 is there a way to know the file system type installed on a partition
(wich could be of LVM type or not)
 tanx for your help.

 julien,
 4 Atix.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] File System type on (LVM) partition
  2001-07-27  7:08 [linux-lvm] File System type on (LVM) partition Julien Baboud
@ 2001-07-27  8:25 ` Benoit SERRA
  2001-07-27  8:57   ` Martin Pool
  2001-07-27 11:31 ` Wichert Akkerman
  1 sibling, 1 reply; 6+ messages in thread
From: Benoit SERRA @ 2001-07-27  8:25 UTC (permalink / raw)
  To: linux-lvm

At 27/07/01, you wrote:
>  is there a way to know the file system type installed on a partition
>(wich could be of LVM type or not)
>  tanx for your help.

[root@ialinux /root]# 
mount
/dev/md0 on / type ext2 
(rw)
none on /proc type proc 
(rw)
/dev/md1 on /boot type ext2 
(rw)
/dev/md3 on /ud type ext2 
(rw)
none on /dev/pts type devpts 
(rw,gid=5,mode=620)
/dev/sdc2 on /dosfs type jfs (rw)
[root@ialinux /root]#


--

Moi j'aime Windows 2000 car cela me rappele mes petits cousins :
"Benoit, on a rien fait et c'est cassé"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] File System type on (LVM) partition
  2001-07-27  8:25 ` Benoit SERRA
@ 2001-07-27  8:57   ` Martin Pool
  0 siblings, 0 replies; 6+ messages in thread
From: Martin Pool @ 2001-07-27  8:57 UTC (permalink / raw)
  To: linux-lvm

On 27 Jul 2001, Benoit SERRA <bs@infologic.fr> wrote:
> At 27/07/01, you wrote:
> >  is there a way to know the file system type installed on a partition
> >(wich could be of LVM type or not)
> >  tanx for your help.

Either run 'mount', as suggested, or do 

  # file -sL /dev/hda1

-- 
Martin

The search for the perfect martini is a fraud.  The perfect martini is
a belt of gin from the bottle; anything else is the decadent trappings
of civilization.
		-- T.K.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] File System type on (LVM) partition
  2001-07-27  7:08 [linux-lvm] File System type on (LVM) partition Julien Baboud
  2001-07-27  8:25 ` Benoit SERRA
@ 2001-07-27 11:31 ` Wichert Akkerman
  2001-07-27 12:18   ` Pierre Lamb
  1 sibling, 1 reply; 6+ messages in thread
From: Wichert Akkerman @ 2001-07-27 11:31 UTC (permalink / raw)
  To: linux-lvm

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@wiggy.net                   http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] File System type on (LVM) partition
  2001-07-27 11:31 ` Wichert Akkerman
@ 2001-07-27 12:18   ` Pierre Lamb
  2001-07-27 12:52     ` Wichert Akkerman
  0 siblings, 1 reply; 6+ messages in thread
From: Pierre Lamb @ 2001-07-27 12:18 UTC (permalink / raw)
  To: linux-lvm

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

Pierre
--- Wichert Akkerman <wichert@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@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@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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] File System type on (LVM) partition
  2001-07-27 12:18   ` Pierre Lamb
@ 2001-07-27 12:52     ` Wichert Akkerman
  0 siblings, 0 replies; 6+ messages in thread
From: Wichert Akkerman @ 2001-07-27 12:52 UTC (permalink / raw)
  To: linux-lvm

Previously Pierre Lamb wrote:
> I believe the stand ext2 is 83 and lvm is 8e so one
> could check for those values

That's a really poor check. 83 is `Linux Native', which isn't limited
to ext2 at all. My LVM PV happens to be type 83 as well actually.

Wichert.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-07-27 12:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-27  7:08 [linux-lvm] File System type on (LVM) partition Julien Baboud
2001-07-27  8:25 ` Benoit SERRA
2001-07-27  8:57   ` Martin Pool
2001-07-27 11:31 ` Wichert Akkerman
2001-07-27 12:18   ` Pierre Lamb
2001-07-27 12:52     ` Wichert Akkerman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.