Mailinglist Archive: opensuse (2700 mails)

< Previous Next >
Re: [SLE] Moveing SuSE 9.2 from IDE to SCSI
  • From: James Knott <james.knott@xxxxxxxxxx>
  • Date: Fri, 01 Jul 2005 12:22:45 -0400
  • Message-id: <42C56DD5.5030104@xxxxxxxxxx>
Jerry Feldman wrote:
> On Thursday 30 June 2005 10:16 am, Randall R Schulz wrote:
>>Jerry, Eduardo,
>>On Thursday 30 June 2005 06:26, Jerry Feldman wrote:
>>>First, dd may not be the right tool because it does an image copy.
>>>You can use the cp command with the -R flag, or rsync. You should
>>>also do this either from single user mode or by booting a standalone
>>>Linux or Rescue disk.
>>Beware. The "-R" / "-r" option to "cp" only triggers the recursive
>>copying behavior. You absolutely, positively must also preserve all
>>file attributes, so you really want "-a", which is a shorthand for
>> -d same as --no-dereference --preserve=link
>> -p same as --preserve=mode,ownership,timestamps
>> -R, -r, --recursive
>> copy directories recursively
> I certainly agree here. I was just in a bit of a rush.
> -d is the default on Linux when -R is used, but it is always better to be
> specific.

I thought "cp -a" was the appropriate command. It copies everything,
maintains permissions and access times and doesn't follow links.

< Previous Next >
This Thread
  • No further messages