public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* dump for jffs2
@ 2002-03-07 13:34 Gad Hayisraeli
  2002-03-07 13:47 ` Juergen Brunk
  0 siblings, 1 reply; 4+ messages in thread
From: Gad Hayisraeli @ 2002-03-07 13:34 UTC (permalink / raw)
  To: Linux-mtd List; +Cc: Linux-Arm List, JFFS dev list

is there any dump utility for jffs2 file system ?
(like e2fsdump, rdump, dump utils)

why i need it ? cause i used rsync and it RUINED my links !
every link to /bin/something has become to bin/somehting !!
(and i tried every option ijn this damn program to solve this, but nada...)

Gad

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

* Re: dump for jffs2
  2002-03-07 13:34 dump for jffs2 Gad Hayisraeli
@ 2002-03-07 13:47 ` Juergen Brunk
  2002-03-07 14:43   ` David Woodhouse
  2002-03-07 16:17   ` Gad Hayisraeli
  0 siblings, 2 replies; 4+ messages in thread
From: Juergen Brunk @ 2002-03-07 13:47 UTC (permalink / raw)
  To: Gad Hayisraeli; +Cc: Linux-mtd List, Linux-Arm List, JFFS dev list

Hello!

> why i need it ? cause i used rsync and it RUINED my links !
> every link to /bin/something has become to bin/somehting !!
> (and i tried every option ijn this damn program to solve this, but nada...)


  rsync -avz foo:src/bar /data/tmp

        this would recursively transfer all files from the  direc­
        tory  src/bar  on  the  machine foo into the /data/tmp/bar
        directory on the local machine. The files are  transferred
        in  "archive"  mode,  which  ensures  that symbolic links,
                                                   ^^^^^^^^^^^^^^
        devices, attributes, permissions, ownerships etc are
        preserved in the transfer.
        ^^^^^^^^^

May this help you?

Regards, Juergen

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

* Re: dump for jffs2
  2002-03-07 13:47 ` Juergen Brunk
@ 2002-03-07 14:43   ` David Woodhouse
  2002-03-07 16:17   ` Gad Hayisraeli
  1 sibling, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2002-03-07 14:43 UTC (permalink / raw)
  To: Juergen Brunk
  Cc: Gad Hayisraeli, Linux-mtd List, Linux-Arm List, JFFS dev list

juergen.brunk@gmx.de said:
>  May this help you?

Possibly in conjunction with the new jffs2 code in 2.4.18 that doesn't
always report i_size of zero for symlinks? :)

--
dwmw2

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

* Re: dump for jffs2
  2002-03-07 13:47 ` Juergen Brunk
  2002-03-07 14:43   ` David Woodhouse
@ 2002-03-07 16:17   ` Gad Hayisraeli
  1 sibling, 0 replies; 4+ messages in thread
From: Gad Hayisraeli @ 2002-03-07 16:17 UTC (permalink / raw)
  To: Juergen Brunk; +Cc: Linux-mtd List, Linux-Arm List, JFFS dev list

i did not tried the -z option. just the other options. does it matter ?
i tried the latest version of rsync and your suggest also (except -z) , but
the same behaviour !
try it yourself, with root-style-links , and check first that the target
file does not exist at the target dir structure

(i synced /bin/busybox links. busybox does not exist in std. linux distrib.)

Gad
----- Original Message -----
From: "Juergen Brunk" <juergen.brunk@gmx.de>
To: "Gad Hayisraeli" <gad@syete.co.il>
Cc: "Linux-mtd List" <linux-mtd@lists.infradead.org>; "Linux-Arm List"
<linux-arm@lists.arm.linux.org.uk>; "JFFS dev list" <jffs-dev@axis.com>
Sent: Thursday, March 07, 2002 3:47 PM
Subject: Re: dump for jffs2


Hello!

> why i need it ? cause i used rsync and it RUINED my links !
> every link to /bin/something has become to bin/somehting !!
> (and i tried every option ijn this damn program to solve this, but
nada...)


  rsync -avz foo:src/bar /data/tmp

        this would recursively transfer all files from the  direc­
        tory  src/bar  on  the  machine foo into the /data/tmp/bar
        directory on the local machine. The files are  transferred
        in  "archive"  mode,  which  ensures  that symbolic links,
                                                   ^^^^^^^^^^^^^^
        devices, attributes, permissions, ownerships etc are
        preserved in the transfer.
        ^^^^^^^^^

May this help you?

Regards, Juergen


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.

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

end of thread, other threads:[~2002-03-07 16:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-07 13:34 dump for jffs2 Gad Hayisraeli
2002-03-07 13:47 ` Juergen Brunk
2002-03-07 14:43   ` David Woodhouse
2002-03-07 16:17   ` Gad Hayisraeli

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