xref: /minix3/minix/usr.sbin/mkfs.mfs/v3/mfsdir.h (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1 #ifndef _MKFS_MFSDIR_H
2 #define _MKFS_MFSDIR_H
3 
4 /* Maximum Minix MFS on-disk directory filename.
5  * MFS uses 'struct direct' to write and parse
6  * directory entries, so this can't be changed
7  * without breaking filesystems.
8  */
9 #define MFS_DIRSIZ	60
10 
11 struct direct {
12   uint32_t d_ino;
13   char d_name[MFS_DIRSIZ];
14 } __packed;
15 
16 #endif /* _MKFS_MFSDIR_H */
17