spacer gen
This commit is contained in:
parent
56d17f5fab
commit
121c225f03
7
dotfiles-old/scripts/spacer.sh
Executable file
7
dotfiles-old/scripts/spacer.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
# 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
|
||||
! [ -e /spacer.img ] || return 1 || exit 1
|
||||
dd if=/dev/zero bs=1K count=8M >spacer.img
|
||||
sudo mv ./spacer.img /spacer.img
|
Loading…
Reference in New Issue
Block a user