Best way to replace a drive with a clone
Christofer C. Bell
christofer.c.bell at gmail.com
Sun Aug 1 05:00:11 UTC 2010
On Sat, Jul 31, 2010 at 3:21 PM, Jussi Lehtola
<jussilehtola at fedoraproject.org> wrote:
>
> Also, if you're running SELinux run
> # touch /mnt/newroot/.autorelabel
> before rebooting, since rsync doesn't preserve security contexts..
Just use "rsync -aAHX" instead of "rsync -au" and you don't have to
worry about an autorelabel (rsync will properly preserve selinux
labels if you give it the correct flags).
--
Chris
More information about the users
mailing list