about summary refs log tree commit diff
path: root/sys/makedisk
diff options
context:
space:
mode:
Diffstat (limited to 'sys/makedisk')
-rwxr-xr-xsys/makedisk11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/makedisk b/sys/makedisk
new file mode 100755
index 000000000000..3d6ec9a2ce0c
--- /dev/null
+++ b/sys/makedisk
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+. ./settings
+
+rm $image
+
+dd if=/dev/zero of=$image bs=1M count=1 seek=256
+
+/sbin/mke2fs -F -j $image
+/sbin/tune2fs -c 0 $image
+/sbin/tune2fs -i 0 $image