News for hackers. Stuff that matters.
Re:FatFs – Generic FAT Filesystem Module by loeg on Sunday January 01, 2023 @04:09PM (#34210920)
http://elm-chan.org/fsw/ff/doc/dioctl.html describes the expected ioctls to implement and their behavior. The mandatory ioctls seem pretty straightforward. CTRL_SYNC will be a nop on a browser-based storage, GET_BLOCK_SIZE should return 1 (unknown), and CTRL_TRIM looks like it could be nop (or you could zero the range to more closely match real devices).
Re:FatFs – Generic FAT Filesystem Module by EdSharkey on Monday January 02, 2023 @01:34AM (#34215028)
I didn't study in my operating systems class! If only I could shake dumbass young version of me and have them work harder at school!

I know what you are saying is true and I should have no fear. I just need to write lots of tests and log like a mofo until I get all the ioctl commands it needs built out on the javascript side.