From owner-freebsd-current@FreeBSD.ORG Thu Sep 23 17:17:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EB4B16A4CE for ; Thu, 23 Sep 2004 17:17:47 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DAA243D1D for ; Thu, 23 Sep 2004 17:17:47 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 36C6172DD4; Thu, 23 Sep 2004 10:17:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 31C2572DCB; Thu, 23 Sep 2004 10:17:47 -0700 (PDT) Date: Thu, 23 Sep 2004 10:17:47 -0700 (PDT) From: Doug White To: Putinas Piliponis In-Reply-To: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt> Message-ID: <20040923100857.J43015@carver.gumbysoft.com> References: <217202CB5FF8AE439E263CE3D48ECB50686C37@honda.int.hansa.lt> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Cyrille Lefevre cc: Juha Saarinen cc: freebsd-current@freebsd.org Subject: RE: Could ARG_MAX be increased? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 17:17:47 -0000 On Thu, 23 Sep 2004, Putinas Piliponis wrote: > but this is workaround - isn't it ? No, it's correct design. I have to deal with this at work all the time -- we have a batch processing system that uses "cat *" to feed data into pipelines and as the dataset sizes has increased we've found places where it explodes and has to be fixed. Its a royal PITA. Do It Right The First Time and you won't have to worry about it in the future when your system is handling 100x the data it is now. Also, find -print0 | xargs -0 will handle files with spaces correctly. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org