LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-09-2007, 08:01 AM   #1
hocheetiong
Member
 
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133

Rep: Reputation: 15
Smile how to know my current hard disk partition file system ext2,ext3...


1.My RHLE AS3 already installed. hda1 is /boot , hda2 is / , what command or how to see my current this two partition(hda1 /boot) and partition(hda2 /) is what type of file system example ext2,ext3...


2. My RHLE AS3 already installed. now i add another hardisk(hdc1,hdc2) there have 2 partition also have a DATA, when i mount this two partition i dont know this two partition is which file system maybe VFAT,NTFS,EXT2... so before i mount this two partition how do i know this partition is which file system?


Please help me solve this two problem THANK YOU VERY MUCH....
 
Old 09-09-2007, 08:04 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
1=> use "mount"
Code:
pu@slackw:~$ mount
/dev/hda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev/shm type tmpfs (rw,size=144m)
2=> mount them as user "root", this way the kernel will guess the file system. Then use "mount" again to see what file system it is.
 
Old 09-09-2007, 08:42 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
Quote:
Originally Posted by uselpa View Post
2=> mount them as user "root", this way the kernel will guess the file system. Then use "mount" again to see what file system it is.
If you want to do recon without mounting then list the partitions with 'fdisk -l' or use 'disktype' (http://disktype.sourceforge.net/doc/). Disktype also displays details like if the partition contains a (and which) bootloader, partition UUID, volume name or label, blocksize, size in human readable format and sectors, etc, etc. Indispensable tool for people who work with "unknown" disks a lot.
 
  


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
I cannot do fsck. Why is that? Repairing Linux ext2 or ext3 file system LinuxCrazy Linux - General 5 06-18-2007 05:01 PM
Convert root file system from ext2 to ext3 lothario Mandriva 4 11-20-2004 06:21 PM
Hard Disk Partition&Make File System Problem jooj Linux - Hardware 3 02-23-2004 05:27 PM
Which file system is better, ext2, ext3 or reiserfs? Which are the actual differences iqbala Linux - Newbie 5 12-04-2003 08:55 AM
reformat file system (from ext2 to ext3) pimo Linux - General 5 03-19-2002 05:11 AM


All times are GMT -5. The time now is 04:29 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