Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-26-2010, 12:23 PM   #1
LQ Newbie
Registered: Mar 2010
Posts: 7

Rep: Reputation: 0
Is /dev/hda a filesystem?

When i type the df command i see that /dev/hda1 as a filesytem that is mounted at '/'(root). Is /dev/hda1 a filesystem. I thought that it is a partition on my hard disk that contains the root file system. Can anybody please explain this?

Old 03-26-2010, 12:28 PM   #2
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,275

Rep: Reputation: 148Reputation: 148
hda is a device(disk drive) in your system the root mounted with hda1 partition. root is a parent directory in linux based system.
#df -T will output the file system(ext2, ext3 etc)

Last edited by kirukan; 03-26-2010 at 12:35 PM.
1 members found this post helpful.
Old 03-27-2010, 12:08 AM   #3
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 37
The term filesystem is used for so many things in linux and it is confusing too.
/ is a filesystem.
ext3, ext2, FAT32, ntfs is also called filesystem (type)
A formatted partition too is called a filesystem and when the partition is formatted with ext3 or ext4 and mounted to a directory, say /data, then /data is also called a filesystem.(parent directory).
I hope I have confused you more....

Last edited by saagar; 04-03-2010 at 01:09 PM.
Old 03-27-2010, 02:21 PM   #4
Senior Member
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,674

Rep: Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485
A file system is a place where you can send and recover data. A device like a CD-ROM or a USB port is also a place where you can send and recover data. The inventors of Unix had the bright idea that you could treat them in the same way, so /dev is how the OS finds devices that handle data, by treating them as if they were files.
Old 03-27-2010, 02:22 PM   #5
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
/dev/hda1 is not a filesystem. It's a partition, which may or may not be formatted with a filesystem (but for almost all practical uses, it is).

Last edited by MTK358; 03-27-2010 at 02:31 PM.


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
/dev/sda (SATA) devices detected as /dev/hda Please help ayvazyan Linux - Newbie 2 01-23-2010 03:17 AM
Install lilo on external drive (/dev/sda), then boot as INTERNAL (/dev/hda)? slackware-elf Slackware 3 08-18-2007 05:51 PM
moving bootable drive from /dev/hde to /dev/hda chromedog Red Hat 1 02-08-2006 05:31 AM
/dev/hda under lilo.conf even thoug my HD is under /dev/hdb Basel Slackware 8 10-27-2005 07:00 PM
How can I boot either one of my hard drives /dev/hda or /dev/hdb, I have RH9 and FC2 omogunkristi Linux - General 1 06-21-2004 06:11 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration