Closed HotMercury closed 3 months ago
If I fill the image with
/dev/random
, commandtouch
ormkdir
will error
Did you run mkfs.simplefs
before mounting the image file?
Yes, following is my detail actions
$ dd if=/dev/random of=test.img bs=1M count=32
$ ./mkfs.simplefs test.img
$ mkdir test
$ sudo mount -t simplefs -o loop test.img test
$ cd test
[test] $ touch test.txt
the error message comes up, but if I replace /dev/random
with /dev/zero
, it will work correctly.
Close via #51
If I fill the image with
/dev/random
, thetouch
ormkdir
command will error.Reproduce:
The error message comes up, but if I replace
/dev/random
with `/dev/zero, it will work correctly. The error message: