jffs2 root

David Woodhouse dwmw2 at infradead.org
Tue Aug 28 13:17:22 EDT 2001

kenneth.johansson at inn.ericsson.se said:
> find / -type d -xdev -exec mkdir /mnt/mtd/{} \;
> find / -type f -xdev -exec cp -dpvf {} /mnt/mtd/{} \; 

$ ldd /bin/bash
	libtermcap.so.2 => /lib/libtermcap.so.2 (0x40029000)
	libdl.so.2 => /lib/libdl.so.2 (0x4002d000)
	libc.so.6 => /lib/i686/libc.so.6 (0x40031000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

All those are symlinks not real files, hence won't have been copied onto 
your filesystem by the 'find -type f' command.


More information about the linux-mtd mailing list