2011-08-05 01:15:16 +02:00
|
|
|
#ifndef _MFSDIR_H
|
|
|
|
#define _MFSDIR_H
|
|
|
|
|
|
|
|
#include <sys/cdefs.h>
|
2012-11-30 19:44:40 +01:00
|
|
|
#include <sys/types.h>
|
2011-08-05 01:15:16 +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 {
|
2014-05-02 07:41:15 +02:00
|
|
|
uint32_t mfs_d_ino;
|
2011-08-05 01:15:16 +02:00
|
|
|
char mfs_d_name[MFS_DIRSIZ];
|
|
|
|
} __packed;
|
|
|
|
|
|
|
|
#endif /* _MFSDIR_H */
|