Re: How do I know what device to mount?

From: Sybren Stuvel (sybrenUSE_at_YOURthirdtower.imagination.com)
Date: 10/27/04


Date: Wed, 27 Oct 2004 16:28:00 +0200

rotwang enlightened us with:
> Every time I read a tutorial on mounting devices it says "or
> whatever your device is". How do I know what my device is? If I
> plug in a new IDE drive, how do I know what it is? /dev/hdc1?
> /dev/hdd1?

/dev/hdXY are IDE devices. X is set based on the position of the
device:

a Primary Master
b Primary Slave
c Secondary Master
d Secondary Slave

And it continues for extra expansion-cards, like some Promise
controllers. Y is the number of the partition, gotten from fdisk.

> (Also is there a command to try to wake up a drive that spun down or
> otherwise needs a nudge?)

I think hdparm can do that.

Sybren

-- 
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself? 


Relevant Pages

  • installing 4.9-R: READ command timeout
    ... pretty sure all the hardware is wired up properly. ... primary master: western digital wd1200JB ... primary slave: yamaha crw-f1e cd-rw ... secondary master: western digital wd1200JB ...
    (freebsd-questions)
  • Re: why does a Cd-Writer Take so much resources
    ... Primary Master: SM3434344 ... Primary Slave: abc DVD-ROM ... Secondary Master: None ... If it scrolls by too fast and you don't get the pause button in time you can ...
    (uk.comp.homebuilt)
  • Re: Solaris 10 on Ultra 5: No disks found.
    ... single-user mode, same results. ... Device 0 (Primary Master) ... Device 1 (Primary Slave) ... Device 2 (Secondary Master) ...
    (comp.unix.solaris)
  • Re: Freeze in opening
    ... Phoenix-Award workstation BIOS V6. ... Primary master: etc. ... Primary Slave: etc. ... Secondary Master: etc. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Old Hard Drive Takes Over New
    ... The other hard disk drive may be configured as primary slave, ... secondary master or secondary slave - as long as there is only one other ... >I was transferring files from my old hard drive to my new drive (both are ... > absolutely no idea how to get the settings back. ...
    (microsoft.public.windowsxp.help_and_support)