[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Block Devices support for JFFS2
On Sun, 19 Aug 2001, Willy Tarreau wrote:
> I have slightly modified JFFS2 to support standard block devices. Now
> you can mount a CompactFlash, a hard disk partition, a floppy, or even
> a loop device containing a JFFS2 file-system. This allowed me to
> replace EXT2 on my firewall which runs on a 16 MB CompactFlash.
> The following patch applies cleanly to kernel 2.4.8-ac7.
> You can also get it from: http://wtarreau.free.fr/linux-patches/
Some of it seems to be duplicating the 'blkmtd' driver which
Simon wrote, which provides a similar functionality to your blockdev.c -
an MTD device backed by block device storage. I'm happier with having that
functionality provided outside the JFFS2 code.
It is quite nice for JFFS2 to be mounted directly on a block device
without mucking about, though. Perhaps we could make the JFFS2 code set up
the blkmtd driver automatically if necessary, while still keeping the guts
of the MTD device emulation stuff in the separate driver?
The 'format' option is useful even on normal flash devices. I like that -
we should make it unconditionally available. The 'deflate' option is also
nice. I'll merge those two on Monday.
Where did the 'parse_options' code come from? If it's from another Linux
filesystem I'm going to need to rewrite it - JFFS2 is dual licensed, and
that unfortunately means I can't import GPL'd code.
To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to email@example.com