minix/usr.sbin/mkfs.mfs/v3/mfsdir.h
Antoine Leca e35821b207 mkfs.mfs: various programs
Split in as many programs as needed to support various variants of MFS
Manual page updated (in mandoc format)
2013-05-13 11:18:15 +02:00

16 lines
353 B
C

#ifndef _MKFS_MFSDIR_H
#define _MKFS_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 d_ino;
char d_name[MFS_DIRSIZ];
} __packed;
#endif /* _MKFS_MFSDIR_H */