Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2013 14:15:19 -0500
From:      Eric van Gyzen <eric@vangyzen.net>
To:        "Simon J. Gerraty" <sjg@juniper.net>
Cc:        Glen Barber <gjb@freebsd.org>, stable@freebsd.org
Subject:   Re: makefs Sparse Files: NetBSD CLI Compatibility
Message-ID:  <520BD747.3080208@vangyzen.net>
In-Reply-To: <20130814190505.0714558097@chaos.jnpr.net>
References:  <520B81D1.1010500@vangyzen.net> <20130814190505.0714558097@chaos.jnpr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?520BD747.3080208>