suse cp copies 'acls' and extended attrs....

Linda A. Walsh xfs at tlinx.org
Wed Jul 13 09:59:37 CDT 2011


I'm not sure if it is in mainline cp (would tend to guess it is likely), 
but the default
cp -a mode will copy all file attributes now, as well, by default.  (You 
can turn it off, but
the default for -a(rchive) mode is to copy everything...)...


So you can use 'cp' now to copy xfs files around and not lose 
capabilities, acls or other ext_attrs,
as well as rsync....


Just an FYI from someone who just found out recently  -- it may be old 
news...if so, sorry,
first I heard of it!





More information about the xfs mailing list