From owner-freebsd-stable@FreeBSD.ORG Wed Aug 14 19:15:22 2013 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4C190403; Wed, 14 Aug 2013 19:15:22 +0000 (UTC) (envelope-from eric@vangyzen.net) Received: from aussmtpmrkps320.us.dell.com (aussmtpmrkps320.us.dell.com [143.166.224.254]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DDCDC2FFF; Wed, 14 Aug 2013 19:15:21 +0000 (UTC) X-Loopcount0: from 64.238.244.148 X-IronPort-AV: E=Sophos;i="4.89,878,1367989200"; d="scan'208";a="38466560" Message-ID: <520BD747.3080208@vangyzen.net> Date: Wed, 14 Aug 2013 14:15:19 -0500 From: Eric van Gyzen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130702 Thunderbird/17.0.7 MIME-Version: 1.0 To: "Simon J. Gerraty" Subject: Re: makefs Sparse Files: NetBSD CLI Compatibility References: <520B81D1.1010500@vangyzen.net> <20130814190505.0714558097@chaos.jnpr.net> In-Reply-To: <20130814190505.0714558097@chaos.jnpr.net> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: Glen Barber , stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Aug 2013 19:15:22 -0000 On 08/14/2013 14:05, Simon J. Gerraty wrote: > On Wed, 14 Aug 2013 08:10:41 -0500, Eric van Gyzen writes: >> NetBSD's makefs has a -Z flag to create the image as a sparse file. In >> FreeBSD, the flag is spelled -p. Is there a reason for using a >> different flag? > No, the -p should have been dropped before we committed to FreeBSD. > But it is there, and Glen expressed a desire to leave it working. > > I expect you could drop -p from the man page and usage message. > Ie. just document -Z, but leave -p active, and no harm should > result. Thank you, Simon. Later in this thread, I included a patch for 9.x to do essentially that, and a patch for head to use only -Z and remove -p entirely (since it was never in a release). I think I'm just waiting for someone to commit them, since I don't have a commit bit. Cheers, Eric