LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-25-2007, 11:31 AM   #1
wabaha
LQ Newbie
 
Registered: Oct 2007
Posts: 6

Rep: Reputation: 0
how to find out file system type


Hello,

What's the command to find out the type of a mounted file system (ext2 or ext3)?

Thanks a lot for your help.
 
Old 10-25-2007, 11:36 AM   #2
strick1226
Member
 
Registered: Feb 2005
Distribution: Arch, CentOS, Fedora, OS X, SLES, Ubuntu
Posts: 327

Rep: Reputation: 63
I think "fdisk -l" will provide the information you want.

Perhaps "fdisk -l |more" would be best, as there tends to be a lot of stuff that zooms by
 
Old 10-25-2007, 11:49 AM   #3
tommytomthms5
Member
 
Registered: Sep 2007
Distribution: debian based
Posts: 305

Rep: Reputation: 30
yea what he vsaid but it may require sudo so it will look like

sudo fdisk -l |more

thats -l as in --list and the other thing is hold shift and hit \
 
Old 10-25-2007, 11:50 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
The mount command without arguments lists all mounted filesystems along with their type.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup file system type sunhui Linux - Software 1 11-29-2006 06:01 AM
How to know partition file system type? Hondro Slackware 4 11-28-2006 03:28 AM
Determining file system type? Sigkill(9) Linux - General 7 09-22-2006 02:11 AM
How do I determine file system type? lowpro2k3 Linux - General 5 07-09-2005 03:40 PM
File System Type NintendoFan Linux - Hardware 2 11-04-2004 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration