makefs Sparse Files: NetBSD CLI Compatibility

Simon J. Gerraty sjg at juniper.net
Wed Aug 14 19:05:16 UTC 2013


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.

>If we agree, I'll gladly make the patches, trivial though they'll be.

Thanks
--sjg



More information about the freebsd-stable mailing list