makefs Sparse Files: NetBSD CLI Compatibility
Eric van Gyzen
eric at vangyzen.net
Wed Aug 14 15:13:43 UTC 2013
On 08/14/2013 09:53, Glen Barber wrote:
> 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?
>> 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.
>>
> 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.
That's reasonable. The attached patch, for releng/9.2, does this. We
could remove -p in head (by using my previous patch).
Thanks for your help during this busy time in the release.
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makefs_sparse_releng92.diff
Type: text/x-diff
Size: 2111 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20130814/d6c6ac72/attachment.diff>
More information about the freebsd-stable
mailing list