1 #ifndef _MFSDIR_H 2 #define _MFSDIR_H 3 4 #include <sys/cdefs.h> 5 #include <sys/types.h> 6 7 /* Maximum Minix MFS on-disk directory filename. 8 * MFS uses 'struct direct' to write and parse 9 * directory entries, so this can't be changed 10 * without breaking filesystems. 11 */ 12 13 #define MFS_DIRSIZ 60 14 15 struct direct { 16 uint32_t mfs_d_ino; 17 char mfs_d_name[MFS_DIRSIZ]; 18 } __packed; 19 20 #endif /* _MFSDIR_H */ 21