LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-26-2010, 11:23 AM   #1
bala1486
LQ Newbie
 
Registered: Mar 2010
Posts: 7

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


Hello,
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?

Thanks,
Bala
 
Old 03-26-2010, 11:28 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,274

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 11:35 AM.
 
1 members found this post helpful.
Old 03-26-2010, 11:08 PM   #3
saagar
Member
 
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 37
bala,
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 12:09 PM.
 
Old 03-27-2010, 01:21 PM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,440

Rep: Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382
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, 01:22 PM   #5
MTK358
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 01:31 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



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 02:17 AM
Install lilo on external drive (/dev/sda), then boot as INTERNAL (/dev/hda)? slackware-elf Slackware 3 08-18-2007 04:51 PM
moving bootable drive from /dev/hde to /dev/hda chromedog Red Hat 1 02-08-2006 04:31 AM
/dev/hda under lilo.conf even thoug my HD is under /dev/hdb Basel Slackware 8 10-27-2005 06: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 05:11 AM


All times are GMT -5. The time now is 02:28 PM.

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