sysprog21 / simplefs

A simple native file system for Linux kernel
Other
379 stars 92 forks source link

Missing cmd on readme #1

Closed fwfly closed 4 years ago

fwfly commented 4 years ago

if you follow readme cmd, you will get "permission deny" and "Wrong magic number" error.

The reason is the file need to be format before mounting it. If you didn't format it, csb->magic would get 0 because we create with /dev/zero

It's fine when using make test.img

jserv commented 4 years ago

Thank @fwfly for contributing.