bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Just updated debian wheezy to wheezy-backports, tar now 1.


From: Gene Heskett
Subject: Re: [Bug-tar] Just updated debian wheezy to wheezy-backports, tar now 1.27-1
Date: Wed, 13 Jan 2016 17:05:28 -0500
User-agent: KMail/1.9.10 (enterprise35 0.20100827.1168748)

On Wednesday 13 January 2016 16:07:56 Nathan Stratton Treadway wrote:

> On Tue, Jan 12, 2016 at 10:10:41 -0500, Gene Heskett wrote:
> > tar -cpsf indices.tar.${TAPENAME} $INDICE_PATH  2>&1 >>
> > dd.report$TAPENAME tar -cpsf configuration.tar.${TAPENAME} $CONFPATH
> >  2>&1 >> dd.report.$TAPENAME
> >
> > And after many years of running that way, tar is now sticking out
> > its tongue and sharpening its finger pointed at me with the
> > following mes- sages in the report:
> >
> > tar: --same-order option cannot be used with -c
> > Try 'tar --help' or 'tar --usage' for more information
>
> What are you intending the -s option to do?
>
> The description of this option in the GNU tar info documentation (e.g.
> the page currently found at:
>  
> https://www.gnu.org/software/tar/manual/html_section/tar_34.html#IDX31
>1 ) says:
>
> ==============
>  Same Order
>
> `--same-order'
> `--preserve-order'
> `-s'
>
>     To process large lists of file names on machines with small
> amounts of memory. Use in conjunction with `--compare' (`--diff',
> `-d'), `--list' (`-t') or `--extract' (`--get', `-x').
>
> The `--same-order' (`--preserve-order', `-s') option tells tar that
> the list of file names to be listed or extracted is sorted in the same
> order as the files in the archive. This allows a large list of names
> to be used, even on a small machine that would not otherwise be able
> to hold all the names in memory at the same time. Such a sorted list
> can easily be created by running `tar -t' on the archive and editing
> its output.
>
> This option is probably never needed on modern computer systems.
> ==============
>
>
> Since this option only has to do with processing of an existing
> archive, mostly likely it was just being ignored there on your tar -c
> commands all along.
>
> So, presumably you'll get the same behavior as you've always had if
> you simply remove the "s" from the option string in those lines of
> your script.
>
> (But of course that doesn't answer the question of what you thought
> you were doing by adding that "s" there originally...)
>
>                                                       Nathan

I probably added that so far back in the stone age that I have now 
forgotten it. Machine memory has been expanded with the machines over 
the last 18 years, and is at 8Gb, nominally 20x the 320 megs the 
original machine had in 1998.

I'll remove it and see how it runs tonight.  And advise.

Thank you Nathan.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]