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

17 lines
353 B
C
Raw Normal View History

#ifndef _MKFS_MFSDIR_H
#define _MKFS_MFSDIR_H
2012-06-12 20:45:29 +02:00
/* 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 d_ino;
char d_name[MFS_DIRSIZ];
2012-06-12 20:45:29 +02:00
} __packed;
#endif /* _MKFS_MFSDIR_H */