From: vb <vb@vsbe.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: linux-ide@vger.kernel.org
Subject: Re: Mounting CF flash card in 2.6.25
Date: Tue, 3 Jun 2008 10:49:27 -0700 [thread overview]
Message-ID: <f608b67d0806031049g24779a09o56bfac0bd6f6384c@mail.gmail.com> (raw)
In-Reply-To: <48458099.5020306@msgid.tls.msk.ru>
Michael, thank you for your reply and pardon my ignorance,
On Tue, Jun 3, 2008 at 10:34 AM, Michael Tokarev <mjt@tls.msk.ru> wrote:
> Kernel does not maintain /dev, ever. Times of devfs are long gone.
> All nodes in your /dev are created in userspace.
>
but I see that the kernel creates /dev/ram[0..15],
/dev/mtdblock[0..3], at least I see these mentioned in
block/genhd.c:major_names[] - are these not devices created by kernel?
Are you saying that I can't mount a CF card without initrd (or nfs
mounted userland, etc.)?
>>>> 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.
>
thank you for the hint, let me try this...
cheers,
/vb
> /mjt
>
next prev parent reply other threads:[~2008-06-03 17:49 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
2008-06-03 17:49 ` vb [this message]
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=f608b67d0806031049g24779a09o56bfac0bd6f6384c@mail.gmail.com \
--to=vb@vsbe.com \
--cc=linux-ide@vger.kernel.org \
--cc=mjt@tls.msk.ru \
/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