Can I run linux without a file system?

Kerl, John John.Kerl at Avnet.com
Sat Jun 22 07:27:11 EST 2002


cp -a --- well, you learn something every day.
Guess I can go home now. :)

Thx.


-----Original Message-----
From: Roland Dreier [mailto:roland at topspin.com]
Sent: Friday, June 21, 2002 2:26 PM
To: Kerl, John
Cc: 'Jerry Van Baren'; 'linuxppc-embedded at lists.linuxppc.org';
'laitingwai at yahoo.com'
Subject: Re: Can I run linux without a file system?
Importance: High


>>>>> "John" == John Kerl <Kerl> writes:

    John> * I could bulk-copy (cp -R) from $xroot to the filesystem
    John> image, *but* you can't cp around the files in /dev.  The
    John> script below is hackish in that I list out all the
    John> subdirectories in $xroot except /dev and copy them, then
    John> populate /dev using the mkdevs script (included after
    John> mkramdisk).  (It would be more elegant to use find with grep
    John> -v /dev.)

cp -a works like cp -R except it will copy /dev and symlinks properly.

Best,
  Roland

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list