2 #define GETDENTS_BUFSIZ 1024
4 #define ISO9660_STANDARD_ID "CD001" /* Standard code for ISO9660 FS */
6 /* Filesystem options support */
7 #define ISO9660_OPTION_ROCKRIDGE
8 /* TODO: Make MODE3 working. */
9 /*#define ISO9660_OPTION_MODE3*/
11 /* Below there are constant of the ISO9660 fs */
12 #define ISO9660_SUPER_BLOCK_POSITION 32768
13 #define ISO9660_MIN_BLOCK_SIZE 2048
15 /* SIZES FIELDS ISO9660 STRUCTURES */
16 #define ISO9660_SIZE_STANDARD_ID 5
17 #define ISO9660_SIZE_BOOT_SYS_ID 32
18 #define ISO9660_SIZE_BOOT_ID 32
20 #define ISO9660_SIZE_SYS_ID 32
21 #define ISO9660_SIZE_VOLUME_ID 32
22 #define ISO9660_SIZE_VOLUME_SET_ID 128
23 #define ISO9660_SIZE_PUBLISHER_ID 128
24 #define ISO9660_SIZE_DATA_PREP_ID 128
25 #define ISO9660_SIZE_APPL_ID 128
26 #define ISO9660_SIZE_COPYRIGHT_FILE_ID 37
27 #define ISO9660_SIZE_ABSTRACT_FILE_ID 37
28 #define ISO9660_SIZE_BIBL_FILE_ID 37
30 #define ISO9660_SIZE_DATE17 17
31 #define ISO9660_SIZE_DATE7 7
33 #define ISO9660_SIZE_ESCAPE_SQC 32
34 #define ISO9660_SIZE_PART_ID 32
36 #define ISO9660_SIZE_SYSTEM_USE 64
38 /* maximum size of length of name file used in dir records */
39 #define ISO9660_MAX_FILE_ID_LEN 32
40 #define ISO9660_RRIP_MAX_FILE_ID_LEN 256
42 /* Miscellaneous constants */
43 #define SYS_UID ((uid_t) 0) /* uid_t for processes PM and INIT */
44 #define SYS_GID ((gid_t) 0) /* gid_t for processes PM and INIT */