On Mon, Feb 09, 2009 at 02:59:02PM -0500, Victor Duchovni wrote:
> On Mon, Feb 09, 2009 at 02:13:55PM -0500, Wietse Venema wrote:
>
> > >
> > > One minor nit in the document, it uses "xargs" to collect a file list for
> > > "tar", but the file list may be too long for one command invocation:
> > >
> > > % cd INSTALL_ROOT
> > > % rm -f SOMEWHERE/outputfile
> > > % find . \! -type d -print | xargs tar cf SOMEWHERE/outputfile
> > > % gzip SOMEWHERE/outputfile
> > >
> > > With "tar c", only the last batch of files are in the tar archive. The
> > > command should be "tar rf" not "tar cf".
> >
> > On what systems does the list exceed the NCARGS command length limit?
>
> xargs(1) does not use "NCARGS", rather it uses various smaller limits:
>
More specifically, on SunOS 5.8 and 5.10, the standard /usr/bin/xargs uses 6
invocations to process all the installed Postfix files in a tree of
the form:
$ find .exec common -type d -print
.exec/
.exec/x86_64.sunos64.5.10/
.exec/x86_64.sunos64.5.10/etc/
.exec/x86_64.sunos64.5.10/libexec/
.exec/x86_64.sunos64.5.10/sbin/
common/
common/html/
common/man/
common/man/man1/
common/man/man5/
common/man/man8/
common/readme/
With files in the various directories above.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[email protected]?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.