Created
December 30, 2016 10:23
-
-
Save StefanLiebenberg/ad010f80245208ef46d35bb6e39fd3d1 to your computer and use it in GitHub Desktop.
Revisions
-
StefanLiebenberg revised this gist
Dec 30, 2016 . 1 changed file with 9 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,11 @@ #/bin/bash i=0; while [ "$(df -P . | awk 'NR==2 {print $4}')" -gt 0 ]; do i=$((i+1)); file=temp$i.dump; echo writing $file; if [ ! -e $file ]; then dd if=/dev/urandom of=$file bs=1MB count=1024; fi; done -
StefanLiebenberg created this gist
Dec 30, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ #/bin/bash i=0;while [ "$(df -P . | awk 'NR==2 {print $4}')" -gt 0 ]; do i=$((i+1)); file=temp$i.dump; echo writing $file; if [ ! -e $file ]; then dd if=/dev/urandom of=$file bs=1MB count=1024; fi; done