mmap returns MAP_FAILED trying to write structs in C
I’m trying to develop a FUSE filesystem driver to create a mount point. To make it persistent I figured to save inodes into a binary file. So this is my inode struct:
I’m trying to develop a FUSE filesystem driver to create a mount point. To make it persistent I figured to save inodes into a binary file. So this is my inode struct: