xfs
[Top] [All Lists]

Re: how to tell?

To: "linux-xfs@xxxxxxxxxxx" <linux-xfs@xxxxxxxxxxx>
Subject: Re: how to tell?
From: "D. Stimits" <stimits@xxxxxxxxxx>
Date: Sat, 09 Jun 2001 15:40:14 -0600
References: <3B228F91.3E63027C@idcomm.com> <3B2291FB.B5A59FD8@unixcircle.com>
Reply-to: stimits@xxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
rollingblackout wrote:
> 
> "D. Stimits" wrote:
> >
> > This seems strangely simple, and possibly absurd to ask, but now that I
> > have a system running with xfs, I have to wonder if there is some
> > fast/simple way to sit down at any linux machine and find out what
> > filesystem type it runs on a particular mount point? df, does not say,
> > and fdisk only mentions linux native. For ext2 there is the lost+found
> > directory as a clue, but I don't know if maybe some other future system
> > might also have this directory; add to this that migrating an old
> > filesystem can leave a lost+found on the new one as an artifact, so it
> > really is not a good clue. What is the simple means to know that a
> > machine I'm sitting at as an administrator (but not installed by me) is
> > running xfs or any other filesystem type?
> >
> > D. Stimits, stimits@xxxxxxxxxx
> 
> how about "mount" command?
> 
> [thang@pissboy thang]$ mount
> /dev/hda5 on / type xfs (rw)
> none on /proc type proc (rw)
> /dev/hda6 on /xfs type xfs (rw)
> /dev/hda3 on /reiser type reiserfs (rw)
> /dev/hda1 on /win type vfat (rw)
> /dev/hda2 on /ext2 type ext2 (rw)
> none on /dev/pts type devpts (rw,gid=5,mode=620)
> 
> cheers!

Ahh, so simple, thanks. Related to some other answers, it looks like the
/proc/partitions does not actually list filesystem type; and mtab is
good, but the mount command without arguments seems to be the easiest.
Thanks!

D. Stimits, stimits@xxxxxxxxxx

PS: I always get two copies of anything sent to the sgi-devel list. I am
also subscribed to the announce list, perhaps everything is going to
both lists? Seems a bit like a minor quirk.

<Prev in Thread] Current Thread [Next in Thread>