LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-31-2002, 03:57 AM   #1
bkeating
Member
 
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, 04:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
  


Reply



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 07: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 05:11 AM
Locating Kernel arimus25 Linux - Software 3 02-24-2004 05:22 PM
locating software SkimMilk Linux - Newbie 2 10-26-2003 10:22 AM
locating lilo seeker1 Linux - Newbie 12 01-11-2003 01:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:11 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
Open Source Consulting | Domain Registration