nix-community / nixbox

NixOS Vagrant boxes [maintainer=@ifurther]
https://app.vagrantup.com/nixbox/
MIT License
304 stars 101 forks source link

Zero out the disk (for better compression) with xfs #70

Closed PierreR closed 3 years ago

PierreR commented 3 years ago

Hi,

Do we still need to "zero out the disk" for better compression when using the xfs file system instead of ext4 ?

https://github.com/nix-community/nixbox/blob/master/scripts/postinstall.sh#L21

This action takes a fair amount of time.

Thanks for your help.

zimbatm commented 3 years ago

I think the only way to know is to run both and compare the disk output size.

PierreR commented 3 years ago

FWIW the output size without the "zero out" is not bigger with xfs (it might even be smaller)