Gentoo Archives: gentoo-user

From: Joerg Schilling <Joerg.Schilling@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 'tar xvjpf stage3-*.tar.bz2 --xattrs' failed with unknown option --xattrs
Date: Thu, 06 Aug 2015 09:01:48
Message-Id: 55c3226b.3gWhaHu/Bng1Pc/u%Joerg.Schilling@fokus.fraunhofer.de
In Reply to: Re: [gentoo-user] 'tar xvjpf stage3-*.tar.bz2 --xattrs' failed with unknown option --xattrs by Rich Freeman
1 Rich Freeman <rich0@g.o> wrote:
2
3 > On Wed, Aug 5, 2015 at 9:24 PM, Felix Miata <mrmazda@×××××××××.net> wrote:
4 > > I booted x86_64 openSUSE 13.1 HD installation to try to begin Gentoo
5 > > installation, beginning from "Unpacking the stage tarball" on
6 > > https://wiki.gentoo.org/wiki/Handbook:X86/Installation/Stage :
7 > >
8 > > # tar xvjpf /pub/stage3-sh4-20120307.tar.bz2 --xattrs
9 > >
10 > > Tar (GNU tar) v1.26 reported
11 > >
12 > > unrecognized option '--xattrs'
13 > >
14 > > Searching the tar man page for 'xattrs' produced no hits, and same for bzip2
15 > > man page. I rebooted into Debian Jessie instead to try again, and the same
16 > > command with Gnu tar 1.27.1 completed, apparently normally. ???
17 >
18 > xattr support is optional in tar. In fact, with Gentoo you can set
19 > USE=xattr or -xattr and get a tar with/without it. Apparently
20 > OpenSUSE builds their tar without xattr support, while Debian includes
21 > support for it.
22
23 I recommend to use star instead as star always includes xattr support when the
24 platform where it has been compiler supports the feature.
25
26 Also note that the xattr implementaion in GNU tar that was "copied" from star
27 is wrong and may cause problems.
28
29 Jörg
30
31 --
32 EMail:joerg@××××××.net (home) Jörg Schilling D-13353 Berlin
33 joerg.schilling@××××××××××××××××.de (work) Blog: http://schily.blogspot.com/
34 URL: http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/'