LWN.net Logo

Grub From the Ground Up (Troubleshooters.com)

Grub From the Ground Up (Troubleshooters.com)

Posted Mar 15, 2005 17:34 UTC (Tue) by ceswiedler (subscriber, #24638)
In reply to: Grub From the Ground Up (Troubleshooters.com) by kasperd
Parent article: Grub From the Ground Up (Troubleshooters.com)

Aren't there some issues with permissions, devices, setuid bits, etc when using cp -a? I've been bit by that stuff before. I think tar handles these cases better.


(Log in to post comments)

Grub From the Ground Up (Troubleshooters.com)

Posted Mar 17, 2005 21:46 UTC (Thu) by kael (guest, #1599) [Link]

I have cloned many a system (Linux with Gnu tools) over the years.

Works fine.

Grub From the Ground Up (Troubleshooters.com)

Posted Mar 18, 2005 22:53 UTC (Fri) by haraldt (guest, #961) [Link]

Look up the man pages of "cp". The "-a" switch covers a lot, but you may want to add some more.
One silly little detail: "cp" isn't allowed to copy all the settings when not running as root.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds