Add ext2 superblock, document file system
diff --git a/bin/jmk b/bin/jmk
index 5730b5f..ffd3993 100755
--- a/bin/jmk
+++ b/bin/jmk
@@ -2,7 +2,8 @@
 
 # Jay MaKe
 
-root="$(pwd)"
+dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
+root="$(dirname $dir)"
 jmkscript="$root/share/jmk/jmk.m4"
 
 for file in $(find -name Jmk); do