don't use "cp" to duplicate directories. use either tar or cpio
cp was never intended to handle _everything_, and infact doesn't.
-Greg
On 17-Nov-00 Bret Hughes wrote:
> OK I gave up on the rw option for the iso mounted via loop device :(
>
> Now I am trying to get a good copy of the entire directory tree from the
> iso to another partition. I did from the root of the iso:
> cp -pdR * /new/location
>
> It appeared to work but a diff /old/location/ /new/location is giving me
> so gaff about files that are special block devices in one tree and
> special block devices on the other. Yeah I know it looks the same huh?
> There were also some file not founds in misc/src/trees/initrd/bin and
> sbin (bin is symlinked to sbin) and some more misc/src/anaconda/
> somewhere.
>
> The first problems are that several files in the sbin dir are linked to
> loader which does not exist. Problem? I guess not since that is the
> wayn it is in the iso and I have done a bunch of installs of various
> types from this iso.
>
> I hate to spend a bunch of time doing the updates I am trying to do just
> to find out something is hosed so I am ftping the directory structure
> now from a mirror. I sure would like to use the iso since I can do the
> old checksum and know that noone has dinked with file way down deep
> somewhere.
>
> Is there a better way to extract the files from the iso that to do the
> cp deal? I am just not comfortable with the device files messages. The
> -dRp options were the best I could seen from reading the man page. I
> would show the specific messages from the diff,but I am using that term
> to get the dir structure now.
>
> Any help gladly accepted.
>
> Bret
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
----------------------------------
E-Mail: Gregory Hosler <[EMAIL PROTECTED]>
Date: 17-Nov-00
Time: 13:05:52
On the contrary of what you may think, your hacker is fully aware
of your company's dress code. He is fully aware of the fact that it
doesn't help him to do his job.
----------------------------------
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list