Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: vb <vb@vsbe.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, linux-ide@vger.kernel.org
Subject: Re: Mounting CF flash card in 2.6.25
Date: Tue, 03 Jun 2008 21:34:17 +0400	[thread overview]
Message-ID: <48458099.5020306@msgid.tls.msk.ru> (raw)
In-Reply-To: <f608b67d0806030948t2df91060w46a9342a813ea216@mail.gmail.com>

vb wrote:
> Alan,
> 
> thank you for your reply, I am not quite clear with a couple of things
> though, please see below:
> 
> On Tue, Jun 3, 2008 at 9:19 AM, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>>> which tells me that the card is being recognized. However, there is no
>>> appropriate device get created in the /dev directory. Examining
>> The /dev creation is up to your initrd.
> 
> but I don't have initrd, so I need the kernel to create /dev/<drive>.
> It does create other devices, right?

Kernel does not maintain /dev, ever.  Times of devfs are long gone.
All nodes in your /dev are created in userspace.

>>> What needs to be done to get the device created and mapped to  a
>>> generic CF card?
>> You need to ensure you have SCSI_DISK support included (as CF is a disk)
>> and you need your initrd either to create device nodes, or to prepack
>> them.
> 
> I don't see SCSI_DISK as a config option, can you please elaborate on this?

It's CONFIG_BLK_DEV_SD.

/mjt

  reply	other threads:[~2008-06-03 17:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-03  2:06 Mounting CF flash card in 2.6.25 vb
2008-06-03 15:41 ` vb
2008-06-03 16:19 ` Alan Cox
2008-06-03 16:48   ` vb
2008-06-03 17:34     ` Michael Tokarev [this message]
2008-06-03 17:49       ` vb
2008-06-03 18:13       ` vb

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=48458099.5020306@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-ide@vger.kernel.org \
    --cc=vb@vsbe.com \
    /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