jffs2 root
Kenneth Johansson
kenneth.johansson at inn.ericsson.se
Tue Aug 28 13:35:25 EDT 2001
David Woodhouse wrote:
>
> 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.
>
> --
> dwmw2
obviously :) if only my retarded brain had done "chroot /mnt/mtd/ /bin/bash"
It works much better when I copy the entire file system. Since all this is
done in script I'am a little confused how I got it to work once.
--
Kenneth Johansson
Ericsson Business Innovation AB Tel: +46 8 404 71 83
Viderögatan 3 Fax: +46 8 404 72 72
164 80 Stockholm kenneth.johansson at inn.ericsson.se
More information about the linux-mtd
mailing list