simplefs
simplefs copied to clipboard
Input/output error
If I fill the image with /dev/random, command touch or mkdir will error
$ dd if=/dev/random of=test.img bs=1M count=32
and then
$ touch test.txt
the error message comes up
touch: cannot touch 'test.txt': Input/output error
If I fill the image with
/dev/random, commandtouchormkdirwill 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