(1) Inodes are defined as unsigned integers, so theoretically you can use any value. However, since there may be programs that are not careful, I would play them safely and use only nonzero positive integers before INT_MAX.
(2) Fuse uses a special kernel. Although fuse_chan_recv () does not support partial reads, this may not be necessary, since the kernel should not return partial packets in any case.
(3) Linux file names are a maximum of 4096 characters. This limits the size of the buffer:
$ grep PATH_MAX /usr/include/linux/limits.h #define PATH_MAX 4096
theamk
source share