1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/fs/adfs/dir_f.h
5 * Copyright (C) 1999 Russell King
7 * Structures of directories on the F format disk
15 struct adfs_dirheader
{
18 } __attribute__((packed
));
20 #define ADFS_NEWDIR_SIZE 2048
21 #define ADFS_NUM_DIR_ENTRIES 77
26 struct adfs_direntry
{
27 #define ADFS_F_NAME_LEN 10
28 char dirobname
[ADFS_F_NAME_LEN
];
32 __u8 dirinddiscadd
[3];
34 } __attribute__((packed
));
39 struct adfs_olddirtail
{
48 } __attribute__((packed
));
50 struct adfs_newdirtail
{
59 } __attribute__((packed
));
62 struct adfs_olddirtail old
;
63 struct adfs_newdirtail
new;