minix/usr.sbin/mkfs.mfs/mfsdir.h

22 lines
383 B
C
Raw Normal View History

2012-06-12 20:45:29 +02:00
#ifndef _MFSDIR_H
#define _MFSDIR_H
/* Maximum Minix MFS on-disk directory filename.
* MFS uses 'struct direct' to write and parse
* directory entries, so this can't be changed
* without breaking filesystems.
*/
#define MFS_DIRSIZ 60
struct direct {
uint32_t mfs_d_ino;
char mfs_d_name[MFS_DIRSIZ];
#ifdef __NBSD_LIBC
} __packed;
#else
};
#endif
#endif /* _MFSDIR_H */