repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Replace previous change by different test
[minix.git]
/
servers
/
mfs
/
mfsdir.h
blob
3a3f3229583c1824985cabd3517a691a3b15e0e2
1
#ifndef _MFSDIR_H
2
#define _MFSDIR_H
3
4
#ifdef __NBSD_LIBC
5
#include <sys/cdefs.h>
6
#endif
7
#include <sys/types.h>
8
9
/* Maximum Minix MFS on-disk directory filename.
10
* MFS uses 'struct direct' to write and parse
11
* directory entries, so this can't be changed
12
* without breaking filesystems.
13
*/
14
15
#define MFS_DIRSIZ 60
16
17
struct
direct
{
18
ino_t mfs_d_ino
;
19
char
mfs_d_name
[
MFS_DIRSIZ
];
20
#ifdef __NBSD_LIBC
21
}
__packed
;
22
#else
23
};
24
#endif
25
26
#endif
/* _MFSDIR_H */