diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-10-22 09:51:03 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-10-22 09:51:03 +0200 |
| commit | 430112c8d7224bf9d1e192adfc9fb55e7a044f83 (patch) | |
| tree | cd6a1ba50070076861c73861a8410e2e288d9877 /fs/Makefile | |
| parent | d272f7fda985b266588af8ba6091c97e44862287 (diff) | |
started abstraction for filesystems
Diffstat (limited to 'fs/Makefile')
| -rw-r--r-- | fs/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/fs/Makefile b/fs/Makefile index c88dda4..d339621 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -4,6 +4,13 @@ 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 + sudo mkfs.ext2 -O none ext2.img + mkdir mnt + sudo mount ext2.img mnt + sudo chown miguel mnt + mkdir mnt/miguel + echo "hello one" > mnt/miguel/test1.txt + echo "hello two" > mnt/test2.txt + sync |
