On Wed, Mar 06, 2013 at 22:27, Sylvestre Gallon wrote: > Do you know if miscfs is the best place to put my code ?
I think so. > Do I keep the device code (fuse_device.c) in the same directory than the > filesystem code? I'd prefer that. sys/dev is kind of cluttered as it is, and since the dev code and fs code are tightly coupled, it makes sense to keep it all in one place. > Do you know which fs type I can use in kern/vfs_init.c for fuse ? I've > taken 42 but I have no idea what I was doing when I choose this number :) Whatever. I don't think those numbers are used. > +/* > + * The root inode is the root of the file system. Inode 0 can't be > used for > + * normal purposes and bad blocks are normally linked to inode 1, thus > + * the root inode is 2. > + */ > +#define FUSE_ROOTINO ((ino_t)1) Internal disagreement here. :)