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
mkfs: separate inode retrieval function
[minix.git]
/
usr.sbin
/
mkfs.mfs
/
mfsdir.h
blob
ea4c71cd327e74777e40b4a81a216936588fd00a
1
#ifndef _MFSDIR_H
2
#define _MFSDIR_H
3
4
/* Maximum Minix MFS on-disk directory filename.
5
* MFS uses 'struct direct' to write and parse
6
* directory entries, so this can't be changed
7
* without breaking filesystems.
8
*/
9
10
#define MFS_DIRSIZ 60
11
12
struct
direct
{
13
uint32_t
mfs_d_ino
;
14
char
mfs_d_name
[
MFS_DIRSIZ
];
15
#ifdef __NBSD_LIBC
16
}
__packed
;
17
#else
18
};
19
#endif
20
21
#endif
/* _MFSDIR_H */