morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus.git
Log | Files | Refs | Submodules | README | LICENSE

commit 77bf9054041fd771d09769d9d2a63b5044157e7e
parent 68a54b61f2a2ad52b4511161d83d67396543489c
Author: sin <sin@2f30.org>
Date:   Sat Mar 15 14:32:22 +0000

Fallback to dd if fallocate fails

Only certain filesystems support the fallocate system call.

Diffstat:
stuff/create-bootable | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stuff/create-bootable b/stuff/create-bootable @@ -13,7 +13,7 @@ root=$1 img=$2 mnt="/mnt/morpheus" -fallocate -l 2G $img +fallocate -l 2G $img || dd if=/dev/zero of=$img bs=512M count=4 ( cat << EOF o