Date: Wed, 27 Aug 2014 13:28:41 -0400 (EDT) From: Daniel Eischen <deischen@freebsd.org> To: Warren Block <wblock@wonkity.com> Cc: freebsd current <freebsd-current@freebsd.org>, Chris H <bsd-lists@bsdforge.com> Subject: Re: did tar(1) loose xz compression support in 11? Message-ID: <Pine.GSO.4.64.1408271306040.12874@sea.ntplx.net> In-Reply-To: <alpine.BSF.2.11.1408270746550.46055@wonkity.com> References: <cc981009f9a7332a7aad557c6a2ed216.authenticated@ultimatedns.net> <134A4303-3421-4A7B-9EB6-74D58B939217@kientzle.com> <Pine.GSO.4.64.1408262221340.8571@sea.ntplx.net> <alpine.BSF.2.11.1408270746550.46055@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Aug 2014, Warren Block wrote: > On Tue, 26 Aug 2014, Daniel Eischen wrote: > >> The man page is a little confusing. Here it says: >> >> --options options >> Select optional behaviors for particular modules. The >> argument is a text string containing comma-separated >> keywords and values. These are passed to the modules that >> handle particular formats to control how those formats will >> behave. Each option has one of the following forms: >> >> key=value >> The key will be set to the specified value in every >> module that supports it. Modules that do not >> support this key will ignore it. >> >> >> Then below, after the last option, it says: >> >> ... >> zip:compression=type >> Use type as compression method. Supported values are >> store (uncompressed) and deflate (gzip algorithm). >> >> If a provided option is not supported by any module, that is a >> fatal error. >> >> The first states that it is ignored, the latter states that it >> is a fatal error. The meaning of "any module" is subtle, at >> least for my feeble brain ;-) > > It suggests that options are passed to all modules, and each module is free > to ignore options it does not understand. But at least one module must > understand the option, or a fatal error is reported. Yes, I got that, but it is confusing when you are intentionally passing to only one module, as in the original post, "xz:9", and considering that the "fatal error" and "ignore it" parts are listed in separate sections. Regardless, tar(1) has many options, so a little confusion is not unsurprising :-) -- DE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1408271306040.12874>