From: Alexandr Andreev <andreev@niisi.msk.ru>
To: Abraham vd Merwe <abraham@2d3d.co.za>
Cc: MTD for Linux <linux-mtd@lists.infradead.org>,
David Woodhouse <dwmw2@infradead.org>
Subject: Re: Making partitions questions.
Date: Thu, 28 Jun 2001 17:08:20 -0400 [thread overview]
Message-ID: <3B3B9CC4.10103@niisi.msk.ru> (raw)
In-Reply-To: 20010628120519.B6265@crystal.2d3d.co.za
David Woodhouse wrote:
> You don't necessarily need to be able to change them at runtime. We already
> support a few methods of storing partitioning information on the medium
> rather than hard-coding it in the mapping driver. We can grok RedBoot FIS
> tables, Compaq bootldr partitions, and also the ARM Firmware Suite layout.
I need to be able to change it while development. I need to create and modify
partitions dynamically, because the size of partitions can be variable during
development stage. I want to have one partition for the kernel with no
filesystem on it at all, the second partition for ext2 filesystem with read
only accesses, and the third for the JFFS2 full functional filesystem.
Is there any common userland utils for creating RedBoot, Compaq or ARM
partitions?
Abraham vd Merwe wrote:
> 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).
Fine. But, why we can't just use MBR and common IDE partition table instead of
RedBoot, Compaq, ARM and other specific partitions?
> 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.
I guess, we can do the similar to IDE things. And it allows us to use
habitual
fdisk utility with flash. But it also means, that whole flash device
have to
be registered ( /dev/mtdblocka for example ). Is it worth while? Is this
work
usable?
prev parent reply other threads:[~2001-06-28 13:35 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
2001-06-28 10:37 ` David Woodhouse
2001-06-28 21:08 ` Alexandr Andreev [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=3B3B9CC4.10103@niisi.msk.ru \
--to=andreev@niisi.msk.ru \
--cc=abraham@2d3d.co.za \
--cc=dwmw2@infradead.org \
--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