makefs Sparse Files: NetBSD CLI Compatibility

Eric van Gyzen eric at vangyzen.net
Wed Aug 14 19:15:22 UTC 2013


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


More information about the freebsd-stable mailing list