Mailinglist Archive: opensuse (3232 mails)
| < Previous | Next > |
Re: [SLE] HDD Upgrade
- From: "Brian Blater (BBList)" <bblist@xxxxxxxxxxx>
- Date: Tue, 1 Aug 2006 18:31:08 +0000 (UTC)
- Message-id: <44CF6594.04D1.0050.0@xxxxxxxxxxx>
>>> On Tue, Aug 1, 2006 at 2:10 PM, in message
<1154455841.24041.24.camel@xxxxxxxxxxxxxxxxx>, suse-list2@xxxxxxxxxxxxx wrote:
> On Tue, 2006- 08- 01 at 09:53 - 0600, Darryl Gregorash wrote:
>> On 01/08/06 09:45, Darryl Gregorash wrote:
>> >logout all users
>> >login as root
>> >mv /home /oldhome
>> >make /etc/fstab entry for /home
>> >mount /home
>> >move contents of /oldhome to /home
>> >delete /oldhome and contents (rm - R /oldhome, IIRC)
>> >
>> >
>> Oops, to preserve permissions, links, etc more easily, "move contents of
>> /oldhome to /home" should be:
>>
>> cp -- preserve /oldhome/* /home
>>
>
> rsync - ar works a treat and preserves owner/modes.
Thank you everyone for filling in the blanks. I will give this a shot later tonight and see how it goes. Luckily /home does not have a bunch of data. I will try the rsync -ar and if not that the cp --preserve.
Thanks,
Brian
<1154455841.24041.24.camel@xxxxxxxxxxxxxxxxx>, suse-list2@xxxxxxxxxxxxx wrote:
> On Tue, 2006- 08- 01 at 09:53 - 0600, Darryl Gregorash wrote:
>> On 01/08/06 09:45, Darryl Gregorash wrote:
>> >logout all users
>> >login as root
>> >mv /home /oldhome
>> >make /etc/fstab entry for /home
>> >mount /home
>> >move contents of /oldhome to /home
>> >delete /oldhome and contents (rm - R /oldhome, IIRC)
>> >
>> >
>> Oops, to preserve permissions, links, etc more easily, "move contents of
>> /oldhome to /home" should be:
>>
>> cp -- preserve /oldhome/* /home
>>
>
> rsync - ar works a treat and preserves owner/modes.
Thank you everyone for filling in the blanks. I will give this a shot later tonight and see how it goes. Luckily /home does not have a bunch of data. I will try the rsync -ar and if not that the cp --preserve.
Thanks,
Brian
| < Previous | Next > |