public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* jffs2 loop mounting
@ 2001-07-02 15:04 Holger Schurig
  2001-07-02 15:54 ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: Holger Schurig @ 2001-07-02 15:04 UTC (permalink / raw)
  To: linux-mtd

How difficult would it be for a relatively kernel-newby to add

mount -o loop -t jffs2 /var/tmp/somefile.jffs2 /mnt/jffs2

support?


Or is this all nonsense?  And if it is: how can I get something OUT of 
a JFF2-image?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: jffs2 loop mounting
  2001-07-02 15:04 jffs2 loop mounting Holger Schurig
@ 2001-07-02 15:54 ` David Woodhouse
  0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2001-07-02 15:54 UTC (permalink / raw)
  To: Holger Schurig; +Cc: linux-mtd

h.schurig@mn-logistik.de said:
> How difficult would it be for a relatively kernel-newby to add
> mount -o loop -t jffs2 /var/tmp/somefile.jffs2 /mnt/jffs2
> support? 

On your workstation:

modprobe mtdram totalsize=$TOTALSIZE erasesize=$ERASESIZE
dd if=somefile.jffs2 of=/dev/mtd0
mount -t jffs2 /dev/mtdblock0 /mnt/jffs2


--
dwmw2

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-02 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-02 15:04 jffs2 loop mounting Holger Schurig
2001-07-02 15:54 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox