All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralph Siemsen <ralphs@netwinder.org>
To: linux-mtd@lists.infradead.org
Subject: Re: FAQ entry for loopback mounting
Date: Thu, 06 Apr 2006 09:10:38 -0400	[thread overview]
Message-ID: <4435134E.6000102@netwinder.org> (raw)
In-Reply-To: <4433E9A1.1030807@netwinder.org>

Quoting myself:

> METHOD mtdram:
 > [snip]
>     # cp file.jffs2 /dev/mtd0
>     # mount -tjffs2 /dev/mtdblock0 /mnt/foo

I'm bored of arguing about suffixes.  Let's talk MTD.

When using mtdram device, is it necessary to fill the device with 0xff 
first?  Suppose I make a 8388608 byte mtdram device and then my 
file.jffs2 is only 6000000 bytes long.  Need I fill the rest of the 
device with 0xff before mounting?  Should I fill with zeros (there was 
an unanswered question on this subject 2005-Dec-14 on the list).

What about if I "reaload", eg. umount the device, and want to copy a new 
file.jffs2 image into it?  Or should the driver be reloaded in this case?

-R

      parent reply	other threads:[~2006-04-06 13:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-05 16:00 FAQ entry for loopback mounting Ralph Siemsen
2006-04-05 16:27 ` David Woodhouse
     [not found]   ` <4433F9FE.7020501@rossvideo.com>
2006-04-05 17:27     ` David Woodhouse
2006-04-05 17:36       ` Ralph Siemsen
2006-04-05 19:05         ` Jörn Engel
2006-04-06 10:33           ` David Vrabel
2006-04-06 12:04             ` Ralph Siemsen
2006-04-06 12:15               ` David Woodhouse
2006-04-06 12:39                 ` David Vrabel
2006-04-06 13:10 ` Ralph Siemsen [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=4435134E.6000102@netwinder.org \
    --to=ralphs@netwinder.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.