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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-09-2007, 07:01 AM
|
#1
|
Member
Registered: Jul 2007
Location: Penang , Malaysia.
Distribution: red hat linux
Posts: 133
Rep:
|
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....
|
|
|
09-09-2007, 07:04 AM
|
#2
|
Senior Member
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507
Rep:
|
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.
|
|
|
09-09-2007, 07:42 AM
|
#3
|
Moderator
Registered: May 2001
Posts: 29,417
|
Quote:
Originally Posted by uselpa
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.
|
|
|
All times are GMT -5. The time now is 04:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|