more universal
This commit is contained in:
parent
2a35af964d
commit
9c623a24be
@ -2,6 +2,7 @@
|
||||
# creates an 8GB empty file in the root dir
|
||||
# that way when the alarm bells go off you can delete it to save a couple
|
||||
# minutes before the system really runs out of disk
|
||||
BS=512; COUNT=16777216 # 512 * 16777216 = 8GB
|
||||
! [ -e /spacer.img ] || return 1 || exit 1
|
||||
dd if=/dev/zero bs=1K count=8M >spacer.img
|
||||
sudo mv ./spacer.img /spacer.img
|
||||
dd bs=$BS count=$COUNT </dev/zero >spacer.img
|
||||
$SUDO mv ./spacer.img /spacer.img
|
||||
|
Loading…
Reference in New Issue
Block a user