Re: bsdtar --gname switch
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---559023410-1228076958-1318890323=:882
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
On Mon, 17 Oct 2011, Romain Garbage wrote:
> Hi,
>
> Following previous advice from questions@, I filed a PR for this
> (bin/161749) and I'm forwarding the previous mail to this list:
>
> According to bsdtar(1) manpage, tar has a --gname switch that permits
> to set an arbitrary groupname in the tar archive, but:
> $ tar -cf foo.tar --gname root bar
> tar: Option --gname is not supported
> Usage:
> =C2=A0List: =C2=A0 =C2=A0tar -tf <archive-filename>
> =C2=A0Extract: tar -xf <archive-filename>
> =C2=A0Create: =C2=A0tar -cf <archive-filename> [filenames...]
> =C2=A0Help: =C2=A0 =C2=A0tar --help
>
> I get the same error for --uname and --gid switches. I'm running
> 9.0-BETA3 (r226421). Does this have any chances to be corrected in a
> not to far away future?
This is, at present, a documentation bug.
FreeBSD svn revision 207786 was "Various manpage updates, including many=20
long-option synonyms that were previously undocumented", which added the=20
gname long-format option to bsdtar.1. However, this option is not present=
=20
in usr.bin/tar/cmdline.c in FreeBSD head, though it was added in r2349 of=
=20
upstream libarchive sources on May 1, 2010. So, it looks like it should=20
have been in libarchive since 2.8.4; however, pulling tarballs for 2.8.4=20
and 2.8.5 it does not seem that gname is listed in cmdline.c for either of=
=20
them.
I'm not familiar with the libarchive release process; Tim, can you shed=20
some insight on what happened here?
Thanks,
Ben Kaduk
---559023410-1228076958-1318890323=:882
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
---559023410-1228076958-1318890323=:882--
討論串 (同標題文章)