xargs -P0 suport

Allan Jude allanjude at freebsd.org
Fri May 22 16:32:50 UTC 2015


On 2015-05-22 11:31, Nikolai Lifanov wrote:
> On 05/21/15 23:25, Allan Jude wrote:
>> On 2015-05-21 21:55, Nikolai Lifanov wrote:
>>> Hi current@!
>>>
>>> Can someone take a look at Bugzilla #199976 please?
>>> It's a pretty trivial patch that adds -P0 support to xargs.
>>>
>>> If there is any feedback or the patch is wrong, I can rework it.
>>> I've been running CURRENT with it for a bit now with no problems.
>>>
>>> I would like very much for it to make it to 10.2-RELEASE.
>>> It would make it much easier for me to convert some systems to FreeBSD
>>> as many custom scripts that use it will be able to port as-is.
>>>
>>> Thank you!
>>>
>>> - Nikolai Lifanov
>>>
>>> _______________________________________________
>>> freebsd-current at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>>
>> This has been submitted for code review
>>
>> https://reviews.freebsd.org/D2616
>>
>>
> 
> Thanks!
> 
> - Nikolai Lifanov
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> 

There is some question about if nargs is a sane value for maxprocs in
the negative case. 5000 does seem a bit high, and the behaviour can get
wonky depending on the order you specify -P and -n together on the
command line.

Any suggestions?

-- 
Allan Jude

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150522/30b79133/attachment.sig>


More information about the freebsd-current mailing list