Help answer threads with 0 replies.
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 08-31-2002, 04:57 AM   #1
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
Locating drives in your /dev

I recently got a buddy of mine to install RedHat and so far so good except he asked me what entry in /dev/ is his window 2k partition and his win98 partition...

I couldn't give him an answer, I've always used either one drive or a GUI-based config app (like utillities that Mandrakes Control panel offer)

So not only am I trying to find an answer for my friend but for myself aswell.. I need to learn this! kinda scary I haven't

He has two CDroms
and two hdd's one with 3 partions and the other, 2

I've found (though i lost it already) a link to a page describing how the hdaX, hdcX, etc. etc. work but another questions in addition to thtat is, will the "hd" entries under /dev/ only be there when the drive is present? or are their files simply named "hdxx" by default which are null until a drive is plugged in?

wow... tired like always hope that makes sense!
anyhelp would be great.
Old 08-31-2002, 05:20 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
ok then... right.... older linux systems (and often the more hardcore aswell) will contain a totally flat /dev/ structure, i.e. it is fixed, permanent, and generally considered exhaustive, menaing that 99% of block devies that *could* exist already have an entry there. this then contrasts with some newer distros that use the devfsd system, which dynamically generates a virtual /dev tree each boot, and creates what's needed, conceptually making more sense and making it easier to use.

now, where you come in is that the drive will be under /dev/hda more than likely and probably hda1 if you run "fdisk -l" you should gewt a list of all attached hard drives along with the partitions on it. obviously the windows partitions will therefore be the ones listed as FAT32 or NTFS.


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
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 08:11 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
Locating Kernel arimus25 Linux - Software 3 02-24-2004 06:22 PM
locating software SkimMilk Linux - Newbie 2 10-26-2003 11:22 AM
locating lilo seeker1 Linux - Newbie 12 01-11-2003 02:22 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:48 AM.

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