From: MikeW <mw_phil@yahoo.co.uk>
To: linux-mtd@lists.infradead.org
Subject: Re: What is recommended way to partition mtdram device - workaround
Date: Mon, 23 Apr 2007 11:23:50 +0000 (UTC) [thread overview]
Message-ID: <loom.20070423T131831-161@post.gmane.org> (raw)
In-Reply-To: loom.20070327T102458-920@post.gmane.org
MikeW <mw_phil <at> yahoo.co.uk> writes:
>
> I require a partitioned mtdram device for system emulation purposes.
>
> The documentation says that the ways to partition an MTD device are:
> 1) boot cmd line
> 2) table of data in device
> 3) create a map driver
>
> If mtdram is to be loaded with modprobe (desktop Linux), that rules out 1).
>
> So can I create partitions by dd-ing a partition table at the start of the
> device ?
> Can I create a map driver for the device to describe the partitions ?
>
> Thanks,
> MikeW
Finally used '--bind' mount option to remount different parts
of the current filesystem ('/opt/mtdblock0...n').
Allowed initial testing of the filesystem mounting and partition
allocation.
Just a simple compile-time #define to switch between
/opt/mtdblockN -> /dev/mtdblockN
flags=MS_BIND -> 0
fstype="" -> "JFFS2"
Good luck.
MikeW
prev parent reply other threads:[~2007-04-23 11:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-27 8:32 What is recommended way to partition mtdram device MikeW
2007-04-23 11:23 ` MikeW [this message]
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=loom.20070423T131831-161@post.gmane.org \
--to=mw_phil@yahoo.co.uk \
--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