about summary refs log tree commit diff
path: root/sys/makedisk
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-03-13T14·24+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-03-13T14·24+0000
commit75d788b0f24e8de033a22c0869032549d602d4f6 (patch)
treefd60e3cb1a8cdfb1d83db54a2ce0e75d83596412 /sys/makedisk
parent841fcbd04755c7a2865c51c1e2d3b045976b7452 (diff)
* Initial version of nix.
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