Hi!
I'm new to FUSE development, so I'd like to ask you a few questions.
I made a filesystem to be able to extract files from old floppy image files. That is working well, but then I decided to add the statfs operation which seems to show the right values on linux, but not OSX.
For a 180KB disk image the values I return are the following:
f_bsize = 256; // Sector size
f_frsize = 256;
f_blocks = 40 * 1 * 18; // 40 tracks, 1 side, 18 sectors per track, 256 byte sector size. 180KB
Sometimes I get 360KB, or 10,9MB...
One thing I've noticed is that I can make it shoe 180KB by dividing f_blocks times 2, but if I do make the sector size the half, it won't affect the size shown.
Am I doing something wrong here (most probably) or is it another kind of problem?
Thank you for your help!