commit | 40a238debb35c0614a2ea3bd9d7c9ffb9bfd3ac8 | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Mon Aug 11 20:30:16 2014 -0700 |
committer | Brian O'Connor <bocon@onlab.us> | Mon Aug 11 20:30:16 2014 -0700 |
tree | 7f298109aff768d1414808e7487ff406197dd8ba | |
parent | 3ca8402f197f9ac3b0866a33d1daaae2c6dbf4e5 [diff] |
zero unused blocks
diff --git a/vm-setup.sh b/vm-setup.sh index bfb49bc..54fb402 100644 --- a/vm-setup.sh +++ b/vm-setup.sh
@@ -97,3 +97,9 @@ sudo dpkg-reconfigure -f noninteractive wireshark-common sudo usermod -a -G wireshark mininet +# ------------- Zero Unused Blocks ------------- +#TODO investigate zerofree +echo "Zeroing unused blocks" +dd if=/dev/zero of=tmp-zeros +sync +rm tmp-zeros