Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Misc
Reload this Page Discover what filesystem(s) are on a disk/partition?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Misc Any questions or Linux discussion that does not fit in any of the other technical areas.

Reply
 
Thread Tools Display Modes
Old 02-02-2008   #1 (permalink)
Linux Newbie
 
humbletech99's Avatar
 
Join Date: Nov 2005
Posts: 209
Discover what filesystem(s) are on a disk/partition?

Is there any really good linux program to definitively tell you what filesystem(s) are on a disk/partitions?

When you do mount /dev/sda1, for example, the mount program detects the filesystem type and then mounts the partition as that filesystem so you can use it. I am looking for a program to just run the check of what filesystem it is without mounting the filesystem. I suspect that "mount" does this detection by looking for signatures in the first by bytes of the partition in order to identify it, so there should be some other program that can do this too, right?

EDIT: as I was typing this, I realized that fdisk and parted must be able to do this and they seem to, although I haven't tried them on any random disks yet. If anyone knows of any other good programs for file system detection, could you pls post them here?
__________________
The Human Equation:

value(geeks) > value(mundanes)
humbletech99 is offline   Reply With Quote
Old 02-02-2008   #2 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,499
I think the two apps you mentioned are the most common for checking filesystems and managing partitions. I personally prefer using using "parted -l" to look at filesystems because of the way it displays the information although "fdisk -l" does a similar thing.
daark.child is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS Mounted Filesystems bobthebullet990 Linux Networking 1 02-02-2007 08:37 AM
FAT Filesystems? PsypherPunk SuSE Linux Help 7 08-18-2005 11:53 AM
LVM filesystems and their sizes brendan_kearney Installation 0 04-18-2004 02:53 PM
2 filesystems on 1 hd robak Linux Applications 2 01-19-2004 02:32 AM
About the 2.6 Kernel jasonlambert Linux Tutorials, HOWTO's & Reference Material 0 08-10-2003 05:54 PM

 



All times are GMT. The time now is 12:13 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0