View Single Post
  #5   (View Single Post)  
Old 8th July 2008
spiderpig spiderpig is offline
Port Guard
Join Date: May 2008
Posts: 28

Originally Posted by revzalot View Post
Is this possible assuming both drives are the same capacity.
No, for at least two reasons. One, cp(1) copies relative to the user that invoked the command. If cp is invoked as a user other than root, then permissions may be set which will not allow that user to read and copy. If root is used to copy files, then individual user ownership is lost. Two, consider all the device nodes residing in /dev. The script /dev/MAKEDEV is executed at installation time for a reason.
Reply With Quote