Skip to contentSkip to conversation

reverse mkfs.jffs2

DISCUSSION Eric DEJONC 4 participants 6 messages May 6, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi all,
I was wondering if someone had already done a prog that reverse mkfs.jffs2?

I'd like to open a jffs2 ramdisk made by someone else, but I don't have enough space on my flash disk. So I would like to open it, but from the host machine that doesn't handle jffs2.

Best regards
Eric

#1 lore raw
Quoted 7 lines · Eric DEJONC

I was wondering if someone had already done a prog that reverse mkfs.jffs2?

I'd like to open a jffs2 ramdisk made by someone else, but I don't have enough space on my flash disk. So I would like to open it, but from the host machine that doesn't handle jffs2.

Use one of mtdram or mtdblock and use that. You can make a block device from your image with loopback. Should be enough, I guess.

Jörn

Signature · 2 lines
Good warriors cause others to come to them and do not go to others.
-- Sun Tzu
#2 lore raw

Well, thank you, I did not think to loopback, thats a great idea. I'm gonna test. the only little problem is that the 10M jffs2 file should take a long time to be sent on the board via a serial port (the only one I can use).

Berst regards,
Eric

Quoted 17 lines · Jörn Engel
Quoted 7 lines · Eric DEJONC

I was wondering if someone had already done a prog that reverse mkfs.jffs2?

I'd like to open a jffs2 ramdisk made by someone else, but I don't have enough space on my flash disk. So I would like to open it, but from the host machine that doesn't handle jffs2.

Use one of mtdram or mtdblock and use that. You can make a block device from your image with loopback. Should be enough, I guess.

Jörn

--
Good warriors cause others to come to them and do not go to others. -- Sun Tzu

#3 lore raw
Quoted 4 lines · Eric DEJONC

Well, thank you, I did not think to loopback, thats a great idea. I'm gonna test. the only little problem is that the 10M jffs2 file should take a long time to be sent on the board via a serial port (the only one I can use).

I don't think you caught on to what mtdram is. mtdram lets you create an mtdblock device on you *HOST* system. you don't need to send it to your board via serial.

Quoted 10 lines
Quoted 10 lines
Quoted 6 lines

I was wondering if someone had already done a prog that reverse mkfs.jffs2?

I'd like to open a jffs2 ramdisk made by someone else, but I don't have enough space on my flash disk. So I would like to open it, but from the host machine that doesn't handle jffs2.

Use one of mtdram or mtdblock and use that. You can make a block device from your image with loopback. Should be enough, I guess.

Signature · 1 line
Russ Dill <[email protected]>
#4 lore raw
In reply to Eric DEJONC
Quoted 3 lines · Eric DEJONC

Hi all,
I was wondering if someone had already done a prog that reverse mkfs.jffs2?

jffs2reader does this, partially.

Signature · 1 line
dwmw2
#5 lore raw

Well thanks, I hadn't seen this util, but I'm not lucky, this is the only one I couldn't compile.
I'm gonna try to compile it.

thanks again

Best regards,
Eric

Quoted 13 lines · David Woodhouse
Quoted 3 lines · Eric DEJONC

Hi all,
I was wondering if someone had already done a prog that reverse mkfs.jffs2?

jffs2reader does this, partially.

--
dwmw2

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/