public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Luca Contini" <luca.contini@mediaenabling.com>
To: <linux-mtd@lists.infradead.org>
Subject: mounting mtd device
Date: Fri, 19 Sep 2003 17:32:46 +0200	[thread overview]
Message-ID: <00a601c37ec3$46b95760$b670a8c0@laptoplukkino> (raw)

Hi all,
I've successfully compiled the mtd subsystem as a module (mtdblock.o and
mtd_blkdevs.o).
I've also successfully inserted those modules using insmod utility, so that
now I can see the mtdblock block device (major number 31) in the
/proc/devices list.
But when I try to mount the corresponding /dev/mtdblock0 device to /mnt/mtd
I got the following error:
** mount: /dev/mtdblock0: unknown device **

The /dev/mtdblock0 device relies on major number 31, minor number 0 and is a
block device.
Also, I've placed a
printk("<1>open\n")
in the 'blktrans_open' function to see whether the mount is at least trying
to open the device but with no result.
Does anyone know why?

Regards

Luca

             reply	other threads:[~2003-09-19 15:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-19 15:32 Luca Contini [this message]
2003-09-19 16:49 ` mounting mtd device Cam Mayor
2003-09-23  9:44   ` Luca Contini
2003-09-23 17:35   ` Luca Contini
2003-09-23 18:42     ` Steve Brockway
2003-09-23 21:54       ` Cam Mayor

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='00a601c37ec3$46b95760$b670a8c0@laptoplukkino' \
    --to=luca.contini@mediaenabling.com \
    --cc=linux-mtd@lists.infradead.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