Permalink
Browse files

Switch default ZFS compression to lz4

  • Loading branch information...
1 parent 42ca77f commit b1a3938d275d5c283e0fdd2f5a5c1eafe94ea55f @kmoore134 kmoore134 committed Oct 14, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 src-qt4/pc-installgui/installer.cpp
  2. +1 −1 src-qt4/pc-installgui/wizardDisk.cpp
@@ -246,7 +246,7 @@ bool Installer::autoGenPartitionLayout(QString target, bool isDisk)
if ( Arch == "amd64" ) {
// Add the main zfs pool with standard partitions
fsType= "ZFS";
- fileSystem << targetDisk << targetSlice << "/,/tmp(compress=lzjb),/usr(canmount=off),/usr/home,/usr/jails,/usr/obj(compress=lzjb),/usr/pbi,/usr/ports(compress=gzip),/usr/ports/distfiles(compress=off),/usr/src(compress=gzip),/var(canmount=off),/var/audit(compress=lzjb),/var/log(compress=gzip),/var/tmp(compress=lzjb)" << fsType << tmp.setNum(totalSize) << "" << "";
+ fileSystem << targetDisk << targetSlice << "/,/tmp(compress=lz4),/usr(canmount=off),/usr/home,/usr/jails,/usr/obj(compress=lz4),/usr/pbi,/usr/ports(compress=lz4),/usr/ports/distfiles(compress=off),/usr/src(compress=lz4),/var(canmount=off),/var/audit(compress=lz4),/var/log(compress=lz4),/var/tmp(compress=lz4)" << fsType << tmp.setNum(totalSize) << "" << "";
sysFinalDiskLayout << fileSystem;
fileSystem.clear();
@@ -414,7 +414,7 @@ void wizardDisk::generateDiskLayout()
fsType= "ZFS";
// This lets the user do nifty stuff like a mirror/raid post-install with a single zpool command
- fileSystem << targetDisk << targetSlice << "/,/tmp(compress=lzjb),/usr(canmount=off),/usr/home,/usr/jails,/usr/obj(compress=lzjb),/usr/pbi,/usr/ports(compress=gzip),/usr/ports/distfiles(compress=off),/usr/src(compress=gzip),/var(canmount=off),/var/audit(compress=lzjb),/var/log(compress=gzip),/var/tmp(compress=lzjb)" << fsType << tmp.setNum(totalSize) << "" << tmpPass;
+ fileSystem << targetDisk << targetSlice << "/,/tmp(compress=lz4),/usr(canmount=off),/usr/home,/usr/jails,/usr/obj(compress=lz4),/usr/pbi,/usr/ports(compress=lz4),/usr/ports/distfiles(compress=lz4),/usr/src(compress=lz4),/var(canmount=off),/var/audit(compress=lz4),/var/log(compress=lz4),/var/tmp(compress=lz4)" << fsType << tmp.setNum(totalSize) << "" << tmpPass;
sysFinalDiskLayout << fileSystem;
fileSystem.clear();

0 comments on commit b1a3938

Please sign in to comment.