cf239b9b7a
mkfat: zero out disk as part of format
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-12 18:56:10 +08:00
723143e36f
mkfat: don't allow 0-entry root directory
...
The root directory should span at least 1 sector.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-12 18:55:39 +08:00
a161ce7b8d
io: don't truncate, and use pread/pwrite
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-12 18:55:15 +08:00
aa387e176d
pang-io: rework api for memory-mapped io
...
On real hardwareit will use memory-mapped io. Rework pang-io so that it
more closely aligns with this paradigm.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-12 18:22:12 +08:00
03e268f710
fat12: add ls_callback function
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-10 22:29:21 +08:00
c4c5f706b0
fat12: beginnings of open/close on partition
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-09 20:32:53 +08:00
e6701a4b50
mkfs-simple: generate build files in build/ directory
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-09 15:57:47 +08:00
2091c2ed21
mkfs-simple: re-enable other size tests
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-09 15:52:22 +08:00
66136b70b8
mkfat: only use 8k sectors over 16 MB, not 16 kB
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-09 15:51:59 +08:00
f68f8215b7
mkfs: first working version
...
It can create a basic filesystem of arbitrary size.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-09 15:48:07 +08:00
ab97abe22a
add makefile
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-08 15:29:30 +08:00
5fb4ea8474
commit some source
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-03 09:57:25 +08:00
2afca97177
initial commit
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-01 14:50:32 +08:00