Re: CentOS 7: restore fails

Rick Stevens <[email protected]>
Newsgroups gmane.linux.mondo.devel
Message-ID <[email protected]>
On 12/20/2016 01:01 PM, Nikolaos Milas wrote:
> On 20/12/2016 1:22 μμ, Bruno Cornec wrote:
> 
>> BTW it seems you miss the xattr package as getattr is not found. Maybe part of the problem as well.

The generic commands are "getfattr" and "setfattr". "attr" itself does
that but is primarily used on XFS filesystems.

All are provided by the attr RPM on Fedora/CentOS/RHEL, e.g.:

[root@golem4 ~]# dnf info attr
Last metadata expiration check: 3:07:17 ago on Tue Dec 20 09:59:44 2016.
Installed Packages
Name        : attr
Arch        : x86_64
Epoch       : 0
Version     : 2.4.47
Release     : 16.fc24
Size        : 154 k
Repo        : @System
From repo   : @commandline
Summary     : Utilities for managing filesystem extended attributes
URL         : http://acl.bestbits.at/
License     : GPLv2+
Description : A set of tools for manipulating extended attributes on
filesystem
            : objects, in particular getfattr(1) and setfattr(1).
            : An attr(1) command is also provided which is largely
compatible
            : with the SGI IRIX tool of the same name.

[root@golem4 ~]# rpm -ql attr
/usr/bin/attr
/usr/bin/getfattr
/usr/bin/setfattr
/usr/share/doc/attr
/usr/share/doc/attr/CHANGES
/usr/share/licenses/attr
/usr/share/licenses/attr/COPYING
/usr/share/licenses/attr/COPYING.LGPL
/usr/share/locale/cs/LC_MESSAGES/attr.mo
/usr/share/locale/de/LC_MESSAGES/attr.mo
/usr/share/locale/es/LC_MESSAGES/attr.mo
/usr/share/locale/fr/LC_MESSAGES/attr.mo
/usr/share/locale/gl/LC_MESSAGES/attr.mo
/usr/share/locale/nl/LC_MESSAGES/attr.mo
/usr/share/locale/pl/LC_MESSAGES/attr.mo
/usr/share/locale/sv/LC_MESSAGES/attr.mo
/usr/share/man/man1/attr.1.gz
/usr/share/man/man1/getfattr.1.gz
/usr/share/man/man1/setfattr.1.gz
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    [email protected] -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-     Is that a buffer overflow or are you just happy to see me?     -
----------------------------------------------------------------------

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.