stray symlinks

goodoldmarty at gmail.com goodoldmarty at gmail.com
Fri Aug 24 00:57:20 PDT 2007


cp --remove-destination DESTDIR/* /   ugly, but might work.

mv -f DESTDIR/* /   might work.

cp -f DESTDIR/* /   will fail I believe.

'rm' won't work if "tools" dir has already been removed.


marty


> Would -f fix this? The manual for 'cp' doesn't seem to speak of this problem. 

robert

On Thursday August 23 2007 10:55:02 am goodoldmarty at gmail.com wrote:
>> > Hardened Linux From Scratch - Version SVN-20070820
>> > At this point; 6.17. Coreutils-6.9
>> >
>> > symlinks in /bin -
>> > cat, echo, pwd, rm, stty are still linked to /tools
>> >
>> > last instruction:
>> >
>> > cp -va DESTDIR/* /
>> > did not overwrite these symlinks.
> 
> 

-- 

|\  /|  Visit http://www.goodoldmarty.com today!
| \/ |  ==============================================
|    |  "Opportunity often comes dressed in overalls
******   and disguised as work." Thomas Edison





-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3651 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20070824/e08df8ff/attachment.bin>


More information about the hlfs-dev mailing list