From: MikeW <mw_phil@yahoo.co.uk>
To: linux-mtd@lists.infradead.org
Subject: Optimum way to copy JFFS2 f-s to backup/restore mtd partition ?
Date: Thu, 17 May 2007 16:37:11 +0000 (UTC) [thread overview]
Message-ID: <loom.20070517T182222-432@post.gmane.org> (raw)
OK, I can manually use the MTD ioctl()s or mtd-utils to erase,
and then read()-write() or dd or cp(io) between the /dev/mtdX ... mtdY.
I was hoping there might be a mtd-util that would do repeated erase-copy sector,
maybe using 'zero-copy' operations like sendfile(). Not yet !
So, what might be the recommended 'best' way to achieve this transfer,
based on experience of the underlying implementation ?
And if just copying file-by-file into an empty partition, is there any benefit
(space overhead; fragmentation) to be had by ordering the files being copied
in any particular way ... by size; by directory; by frequency of use ?
Best regards,
Thx,
MikeW
next reply other threads:[~2007-05-17 16:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-17 16:37 MikeW [this message]
2007-05-31 7:41 ` Optimum way to copy JFFS2 f-s to backup/restore mtd partition ? MikeW
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=loom.20070517T182222-432@post.gmane.org \
--to=mw_phil@yahoo.co.uk \
--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