xref: /minix3/minix/fs/isofs/const.h (revision b80da2a01d0bb632707b7b4e974aa32eaebbcc6f)
1 
2 #define GETDENTS_BUFSIZ         1024
3 
4 #define ISO9660_STANDARD_ID     "CD001" /* Standard code for ISO9660 FS */
5 
6 #define NR_INODE_RECORDS        64
7 #define NR_DIR_EXTENT_RECORDS   NR_INODE_RECORDS * 16
8 
9 #define NO_ADDRESS (-1)         /* Error constants */
10 #define NO_FREE_INODES (-1)
11 
12 #define PATH_PENULTIMATE 001    /* parse_path stops at last but one name */
13 #define PATH_NONSYMBOLIC 004    /* parse_path scans final name if symbolic */
14 
15 /* Below there are constant of the ISO9660 fs */
16 #define ISO9660_SUPER_BLOCK_POSITION    32768
17 #define ISO9660_MIN_BLOCK_SIZE          2048
18 
19 /* SIZES FIELDS ISO9660 STRUCTURES */
20 #define ISO9660_SIZE_STANDARD_ID        5
21 #define ISO9660_SIZE_BOOT_SYS_ID        32
22 #define ISO9660_SIZE_BOOT_ID            32
23 
24 #define ISO9660_SIZE_SYS_ID             32
25 #define ISO9660_SIZE_VOLUME_ID          32
26 #define ISO9660_SIZE_VOLUME_SET_ID      128
27 #define ISO9660_SIZE_PUBLISHER_ID       128
28 #define ISO9660_SIZE_DATA_PREP_ID       128
29 #define ISO9660_SIZE_APPL_ID            128
30 #define ISO9660_SIZE_COPYRIGHT_FILE_ID  37
31 #define ISO9660_SIZE_ABSTRACT_FILE_ID   37
32 #define ISO9660_SIZE_BIBL_FILE_ID       37
33 
34 #define ISO9660_SIZE_DATE17             17
35 #define ISO9660_SIZE_DATE7             7
36 
37 #define ISO9660_SIZE_ESCAPE_SQC         32
38 #define ISO9660_SIZE_PART_ID            32
39 
40 #define ISO9660_SIZE_SYSTEM_USE         64
41 
42 /* maximum size of length of name file used in dir records */
43 #define ISO9660_MAX_FILE_ID_LEN         32
44 #define ISO9660_RRIP_MAX_FILE_ID_LEN    256
45 
46 /* Miscellaneous constants */
47 #define SYS_UID  ((uid_t) 0)            /* uid_t for processes PM and INIT */
48 #define SYS_GID  ((gid_t) 0)            /* gid_t for processes PM and INIT */
49