LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Raghu N (https://www.linuxquestions.org/questions/linux-newbie-8/raghu-n-199723/)

toraghun 06-30-2004 11:26 PM

Raghu N
 
Hai, friends,
i am very new to linux, so please help me.

How to find file sytem of a particular partition in text mode of linux.


Please help, may be it is silly question, i don't know answer for this.

please help me.


Thank you,
Raghu Ni.:confused:

LittleAngel 07-01-2004 08:38 PM

Hi Raghu Ni and welcome to Linux and LQ!

just trying to find out if you're actually trying to search for files on your Red Hat system, or whether you're trying to determine what file system is used by your Red Hat machine.

Let me know and I'll give you the corresponding commands to use in terminal.

Terri

gredhat 07-02-2004 01:30 PM

It is really simple just give the following command

fdisk -l /dev/hda (where hda is the hard disk for which u want to know the partition)
this will give you the listing and info of all the partitions and their file systems.

toraghun 07-05-2004 04:41 AM

Finding file sytem in RedHat Linux
 
Thank you for your reply,

In fdisk -l will display only , ex:
Linux for ext2 and ext3 partition , so i want to know particularly is that ext2 or ext3 and like that.


Any how thank you for your reply.

gredhat 07-05-2004 11:17 AM

Your query is not clear to me
what exactly you want to know about the filesystem and all.
I will be glad to answer it.

Thanku

LittleAngel 07-05-2004 04:51 PM

Hi again!

To access your partition information, open a konsole (either by using the Konsole from your X window/GUI or by pressing Control + F1/F2/F3/F4).

At the command prompt, type: man fdisk

This will display the manual for the partition tool in Linux.

To exit the manual, press Q (for quit)

To access the fdisk tool, you need to log in as root user, so type:

su (change to root)

The konsole will now ask your password for root (type carefully, it will not echo your typing)

Once logged in as root, you can type:

fdisk -l

This will display the partition table for your entire system (i.e. all hard drives on the computer you're working on)

If this doesn't show the desired information, type

cfdisk

This will open a different type of partition editing tool and will display all partitions straight away with information on file system, partition mount point, size etc...

Toggle along the bottom menu to edit your partition table - but carefully, if you hit enter on delete, you just ruined your system!

Hope this helps!


All times are GMT -5. The time now is 11:58 PM.