summaryrefslogtreecommitdiff
path: root/minix/fs/mfs/mfsdir.h
blob: 370c07e98cb9895b5b6203b203487641fb9586cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _MFSDIR_H
#define _MFSDIR_H

#include <sys/cdefs.h>
#include <sys/types.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];
} __packed;

#endif /* _MFSDIR_H */