ZFS and __FreeBSD_version

John Baldwin jhb at FreeBSD.org
Thu May 13 11:44:42 UTC 2010


Boris Kochergin wrote:
> Hi. Can __FreeBSD_version be bumped if ZFS's userland API is ever 
> changed again? I got slightly bitten by the 
> state_to_name()-to-zpool_state_to_name() change from version 6 to 
> version 13 and would like a reliable way of keeping track of this type 
> of stuff in the future. Thanks.

Yes, it should be bumped anytime the API changes.  That is definitely a 
bug that it wasn't done properly last time.

-- 
John Baldwin


More information about the freebsd-fs mailing list