mkfs, mkproto: minor improvements
[minix.git] / servers / mfs / mfsdir.h
blobd997c053cc954ccbccfb0af945f7619238ad2753
1 #ifndef _MFSDIR_H
2 #define _MFSDIR_H
4 #ifdef __NBSD_LIBC
5 #include <sys/cdefs.h>
6 #endif
7 #include <minix/types.h>
9 /* Maximum Minix MFS on-disk directory filename.
10 * MFS uses 'struct direct' to write and parse
11 * directory entries, so this can't be changed
12 * without breaking filesystems.
15 #define MFS_DIRSIZ 60
17 struct direct {
18 ino_t mfs_d_ino;
19 char mfs_d_name[MFS_DIRSIZ];
20 #ifdef __NBSD_LIBC
21 } __packed;
22 #else
24 #endif
26 #endif /* _MFSDIR_H */