mfsdir.h 394 B

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