From owner-freebsd-stable@FreeBSD.ORG Wed Aug 14 14:53:49 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 3F0D4F90; Wed, 14 Aug 2013 14:53:49 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mail0.glenbarber.us (mail0.glenbarber.us [208.86.227.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 12F6D2054; Wed, 14 Aug 2013 14:53:48 +0000 (UTC) Received: from glenbarber.us (nucleus.glenbarber.us [IPv6:2001:470:8:1205:2:2:ff:29]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id 4E058E890; Wed, 14 Aug 2013 14:53:47 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us 4E058E890 Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Wed, 14 Aug 2013 10:53:45 -0400 From: Glen Barber To: Eric van Gyzen Subject: Re: makefs Sparse Files: NetBSD CLI Compatibility Message-ID: <20130814145345.GI2241@glenbarber.us> References: <520B81D1.1010500@vangyzen.net> <20130814140653.GG2241@glenbarber.us> <520B951D.2080305@vangyzen.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FCKy2vjPBX+S/5dE" Content-Disposition: inline In-Reply-To: <520B951D.2080305@vangyzen.net> X-Operating-System: FreeBSD 10.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Simon Gerraty , 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 14:53:49 -0000 --FCKy2vjPBX+S/5dE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 14, 2013 at 09:33:01AM -0500, Eric van Gyzen wrote: > On 08/14/2013 09:06, Glen Barber wrote: > > On Wed, Aug 14, 2013 at 08:10:41AM -0500, Eric van Gyzen wrote: > >> 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? It would be very nice to preserve CLI compatibility > >> with NetBSD. > >> > >> NetBSD committed first (by one month), and neither change has gone into > >> a release yet, so we should change to match NetBSD. We should do it > >> soon, too, since our change will go into 9.2-RELEASE. > >> > >> If we agree, I'll gladly make the patches, trivial though they'll be. > >> > > Can you please try the attached patch? >=20 > Thanks, Glen. That patch would work. However, since our -p flag has > not yet gone into a release, there is no need to keep it. I suggest > that we simply rename -p to -Z, to match NetBSD. The attached patch > does this. >=20 Not in a release, no, but it is available in stable/ branches. I'd prefer to deprecate the '-p' but keep the option for now, as we have no way to know how many people are using it. Glen --FCKy2vjPBX+S/5dE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBCAAGBQJSC5n5AAoJEFJPDDeguUajHXoIAJcnCKMkRnksWQwsQw9N0t5z uvMIpY/pNjWoYdm3NzkE1gffs3fALuKWBi8hMnWii38NFyA2DyXbwPjT4nKMGQt2 LezNDtlkYo4y5ek2EPHTvqOMZ7iUdIs/AUhk8zOuI3IjZ6EvYgozgi7bg5Pr9Azk NKZKmPa6QmPk/NImt4Yc8RbY8tTNAzKrwMQ4loTphwr6Qr7L3kQKJ6XqWEwyK4A1 dw7dr2gE7tJlOU+YYjluBPzyCFESVyA+f5/TApOSjlafFpc2Eh5yVM3SZsP2qzy9 GOETZIQdh8Zr+N5mHqgW2qdOy5+dBntBr1yCnVCHiyBH1aGaORH+aVqGodeai3Q= =2Wcg -----END PGP SIGNATURE----- --FCKy2vjPBX+S/5dE--