public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: mount: "special device /dev/hdc does not exist". What does this mean?
Date: Sat, 19 Jul 2008 21:12:13 +0000	[thread overview]
Message-ID: <20080719211213.GA1073@muc.de> (raw)
In-Reply-To: <g5tdv9$8c7$1@ger.gmane.org>

Hi, Nikos,

On Sat, Jul 19, 2008 at 10:06:15PM +0300, Nikos Chantziaras wrote:
> Alan Mackenzie wrote:

> >However, I can't access my DVD drives.  I know at least one of them
> >works, because I installed Gentoo from it.

> >When I do

> >   mount -tiso9660 /dev/hdc /cdrom

> >, it comes back with "special device /dev/hdc does not exist".  And yes,
> >there was a CD in the drive, and /cdrom exists.

> >What does "special device" mean here?  Does it mean the physcial
> >hardware, the controller chip, the directory entry /dev/hdc, the driver
> >in the kernel, or what?  What is "special" about my DVD writer?

> /dev/hdc (and other files in /dev) are not called "files", they're 
> called "special devices").

Ah!  I really wish they weren't.  Didn't they used to be called "device
files"?

> >Well, to answer some of my questions, I was missing a /dev/hdc, so I
> >made one with

> ># mknod /dev/hdc b 22 0

> >.  This didn't help one iota.  I had a look at dmesg, but there was no
> >mention of hdc in it.  (It did mention hdg, hdh, where my main hard
> >drives are (don't ask!)).

> Use /dev/sdc instead of /dev/hdc.

I booted up in to the kernel, did # ls /dev/sd*, and the only things
displayed were /dev/sda and /dev/sda1.  That is the place where my USB
stick gets mounted.

> The default in new kernels is to only use /dev/sd*.

I'm totally confused.  Doesn't "sd*" mean "SCSI disk drive"?  When I was
installing Gentoo from the CD, I had to mount my main hard drive as
/dev/sdb5.  When I built my own kernel, it needed /dev/hdh5.

This seems crazy.  Is it documented anywhere in Gentoo?

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2008-07-19 21:13 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-19 18:51 [gentoo-user] mount: "special device /dev/hdc does not exist". What does this mean? Alan Mackenzie
2008-07-19 19:06 ` [gentoo-user] " Nikos Chantziaras
2008-07-19 21:12   ` Alan Mackenzie [this message]
2008-07-19 21:29     ` Nikos Chantziaras
2008-07-20 14:52       ` Mick
2008-07-20 19:11         ` Nikos Chantziaras
2008-07-20 19:25           ` Dale
2008-07-20 19:33             ` Nikos Chantziaras
2008-07-20 19:58               ` Dale
2008-07-20 20:27                 ` Nikos Chantziaras
2008-07-20 21:10                   ` Dale
2008-07-20 21:20                     ` Dale
2008-07-20 23:25                       ` Nikos Chantziaras
2008-07-20 20:12               ` Mick
2008-07-20 23:35                 ` Nikos Chantziaras
2008-07-21  6:56                   ` Neil Bothwick
2008-07-20 15:05       ` Alan Mackenzie
2008-07-20 17:22         ` Mick
2008-07-20 18:49           ` Alan Mackenzie
2008-07-20 18:48         ` Neil Bothwick
2008-07-20 20:10         ` Nikos Chantziaras
2008-07-20 18:54       ` [gentoo-user] Solved!!! [Re: mount: "special device /dev/hdc does not exist"] Alan Mackenzie
2008-07-19 19:11 ` [gentoo-user] mount: "special device /dev/hdc does not exist". What does this mean? Daniel Pielmeier
2008-07-19 21:41   ` Alan Mackenzie
2008-07-19 21:53     ` Daniel Pielmeier
2008-07-19 19:13 ` [gentoo-user] " Miernik
2008-07-19 21:22   ` Alan Mackenzie
2008-07-19 21:33     ` Graham Murray

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080719211213.GA1073@muc.de \
    --to=acm@muc.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox