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
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
c4c5f706b0
fat12: beginnings of open/close on partition
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-09 20:32:53 +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
5fb4ea8474
commit some source
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-06-03 09:57:25 +08:00