LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-01-2004, 12:26 AM   #1
toraghun
Member
 
Registered: Mar 2004
Location: Hyderabad
Distribution: Redhat Linux 9.0,Redhat Linux EL 3.0, 4.0 5.0 SLES 10 SLES10(OES)
Posts: 43

Rep: Reputation: 15
Question 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.
 
Old 07-01-2004, 09:38 PM   #2
LittleAngel
Member
 
Registered: Apr 2004
Location: Greater London
Distribution: SuSE 9.1 Pro, Linux XP Pro (based on Fedora Core 1), Knoppix, DeMuDi (Agnula Project)
Posts: 80

Rep: Reputation: 15
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
 
Old 07-02-2004, 02:30 PM   #3
gredhat
LQ Newbie
 
Registered: Jun 2004
Location: Delhi, INDIA
Distribution: Redhat, Fedora, Suse
Posts: 16

Rep: Reputation: 0
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.
 
Old 07-05-2004, 05:41 AM   #4
toraghun
Member
 
Registered: Mar 2004
Location: Hyderabad
Distribution: Redhat Linux 9.0,Redhat Linux EL 3.0, 4.0 5.0 SLES 10 SLES10(OES)
Posts: 43

Original Poster
Rep: Reputation: 15
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.
 
Old 07-05-2004, 12:17 PM   #5
gredhat
LQ Newbie
 
Registered: Jun 2004
Location: Delhi, INDIA
Distribution: Redhat, Fedora, Suse
Posts: 16

Rep: Reputation: 0
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
 
Old 07-05-2004, 05:51 PM   #6
LittleAngel
Member
 
Registered: Apr 2004
Location: Greater London
Distribution: SuSE 9.1 Pro, Linux XP Pro (based on Fedora Core 1), Knoppix, DeMuDi (Agnula Project)
Posts: 80

Rep: Reputation: 15
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!

Last edited by LittleAngel; 07-06-2004 at 04:11 PM.
 
  


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




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