summaryrefslogtreecommitdiff
path: root/fs/Makefile
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-10-22 01:50:07 +0200
committerMichal Idziorek <m.i@gmx.at>2014-10-22 01:50:07 +0200
commit27a5147baf83f07e0f9cc53c56356a5d2152a5ee (patch)
tree9338c87c0805ee5e2c8a9c50eb2198ba5f40a550 /fs/Makefile
parent67ec3995b4fd2c65c3f741d2fc16aa6983b5baa3 (diff)
started simple ext2 driver (read-only)
Diffstat (limited to 'fs/Makefile')
-rw-r--r--fs/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/Makefile b/fs/Makefile
new file mode 100644
index 0000000..c88dda4
--- /dev/null
+++ b/fs/Makefile
@@ -0,0 +1,9 @@
+run: a.out
+ ./a.out < ext2.img
+a.out: ext2.c
+ gcc ext2.c -std=c11
+filesys:
+ dd if=/dev/zero of=ext2.img bs=512 count=10000
+ sudo mkfs.ext2 -O ^large_file ext2.img
+
+