public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Kenneth Johansson <kenneth.johansson@inn.ericsson.se>
To: David Woodhouse <dwmw2@infradead.org>
Cc: mtd <linux-mtd@lists.infradead.org>
Subject: Re: jffs2 root
Date: Tue, 28 Aug 2001 19:35:25 +0200	[thread overview]
Message-ID: <3B8BD65D.F5B7A4FE@inn.ericsson.se> (raw)
In-Reply-To: 28995.999019042@redhat.com

David Woodhouse wrote:
> 
> kenneth.johansson@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@inn.ericsson.se

      reply	other threads:[~2001-08-28 17:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-28 16:49 jffs2 root Kenneth Johansson
2001-08-28 16:54 ` David Woodhouse
2001-08-28 17:13   ` Kenneth Johansson
2001-08-28 17:17     ` David Woodhouse
2001-08-28 17:35       ` Kenneth Johansson [this message]

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=3B8BD65D.F5B7A4FE@inn.ericsson.se \
    --to=kenneth.johansson@inn.ericsson.se \
    --cc=dwmw2@infradead.org \
    --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