* Optimum way to copy JFFS2 f-s to backup/restore mtd partition ?
@ 2007-05-17 16:37 MikeW
2007-05-31 7:41 ` MikeW
0 siblings, 1 reply; 2+ messages in thread
From: MikeW @ 2007-05-17 16:37 UTC (permalink / raw)
To: linux-mtd
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Optimum way to copy JFFS2 f-s to backup/restore mtd partition ?
2007-05-17 16:37 Optimum way to copy JFFS2 f-s to backup/restore mtd partition ? MikeW
@ 2007-05-31 7:41 ` MikeW
0 siblings, 0 replies; 2+ messages in thread
From: MikeW @ 2007-05-31 7:41 UTC (permalink / raw)
To: linux-mtd
MikeW <mw_phil <at> yahoo.co.uk> writes:
>
>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
OK, looks like nobody knows ... or cares !
Will post again if I find anything useful.
MikeW
gmane..pad
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-31 8:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-17 16:37 Optimum way to copy JFFS2 f-s to backup/restore mtd partition ? MikeW
2007-05-31 7:41 ` MikeW
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox