by dependenttypes · 6y ago · 0 comments
Certainly you can. You just have to reduce the effective sector size that the file system can use.
> What do you do when you need to overwrite a block with new data?
You generate a new random nonce (as per XChacha) and you store it in the sector.
get back to me when you find a high-performance (FAT doesn't count) Linux filesystem that supports sector sizes of 496.
But even if that was the case, you could just pretend to the OS that you have 7 sectors of 512 bytes each rather than a single sector of 4032 bytes. (or if that was not possible you could just take the hit)