From: Abraham vd Merwe <abraham@2d3d.co.za>
To: Alexandr Andreev <andreev@niisi.msk.ru>
Cc: MTD for Linux <linux-mtd@lists.infradead.org>
Subject: Re: Making partitions questions.
Date: Thu, 28 Jun 2001 12:05:19 +0200 [thread overview]
Message-ID: <20010628120519.B6265@crystal.2d3d.co.za> (raw)
In-Reply-To: <3B3B5128.7040006@niisi.msk.ru>; from andreev@niisi.msk.ru on Thu, Jun 28, 2001 at 11:45:44 -0400
[-- Attachment #1: Type: text/plain, Size: 1680 bytes --]
Hi Alexandr!
> 1. I read mtd-jffs-HOWTO, and found that can't launch fdisk and create
> partitions on my flash dynamically. It have to be created and compiled in a
> lowlevel driver. What is the reason? Is anybody working at it?
The reason why this have to be done is that the mtd partition driver needs
to know the partition information before it can register those partitions as
devices (it basically just goes and setup MTD structures for each partition
and register them the normal way).
In order to actually make a userland utility you'd have to implement a
system call to actually send the info to the partition driver which will
have to reregister the devices. Not all that difficult, but I don't think
anybody is working on it right now.
> 2. I wish to have several partitions on my flash. Can i have partitions
> with
> different filesystems on it? I mean one partition with FTL & ext2 and other
> with JFFS2 for example.
Yes. As long as you compile your kernel with MTD block device support it,
you can put anything on those block devices. I wouldn't use ext2 on flash
tho since it's not optimised for flash - jffs2 is definitely your best bet.
--
Regards
Abraham
Today is National Existential Ennui Awareness Day.
__________________________________________________________
Abraham vd Merwe - 2d3D, Inc.
Device Driver Development, Outsourcing, Embedded Systems
Cell: +27 82 565 4451 Snailmail:
Tel: +27 21 761 7549 Block C, Antree Park
Fax: +27 21 761 7648 Doncaster Road
Email: abraham@2d3d.co.za Kenilworth, 7700
Http: http://www.2d3d.com South Africa
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2001-06-28 9:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-28 15:45 Making partitions questions Alexandr Andreev
2001-06-28 10:05 ` Abraham vd Merwe [this message]
2001-06-28 10:37 ` David Woodhouse
2001-06-28 21:08 ` Alexandr Andreev
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=20010628120519.B6265@crystal.2d3d.co.za \
--to=abraham@2d3d.co.za \
--cc=andreev@niisi.msk.ru \
--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