Re: Best way to copy /usr to different partition?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 10:43 PM -0500 12/6/07, Kevin J. Cummings wrote:
>Daniel B. Thurman wrote:
>> I was getting dangerously close to running out of disk space
>> since /usr was filling up fast.
>>
>> I thought it was simple to tar-copy /usr to a different drive/partiton
>> using tar copy such as:
>>
>> (cd /usr; tar cpf - .) | (cd /newpartition; tar xpf -)
>
>using tar doesn't copy the extended attributes used by SELinux. ...
 ...

`man tar` shows the --xattrs and --no-xattrs options (though `man tar` and
`info tar` don't say what the default is), so tar should work for EAs if
used with --xattrs.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux