Is growfs(8) safe?

Lev Serebryakov lev at FreeBSD.org
Tue Aug 23 20:23:17 UTC 2011


Hello, Freebsd-fs.

 Is growfs(8) safe now? I remember, there were some problems with
non-zeroed data, but it seems to be fixed.

  But it HAS one bug for sure: "int p_size," which overflows on big
FSes. It is in sectors, and 32 bit signed, so max value is only
slightly less than 1Tb (!)

  I've fixed it (PR will be a bit later), but I'm not sure, is it
only bug in such important utility?

 Does somebody use it? Or everybody migrate to ZFS already?

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-fs mailing list