kernel: restore setting KTS_NONE
[minix.git] / servers / iso9660fs / const.h
blob3dfd35317ff71977a088d997639911aff5c87527
2 #define GETDENTS_BUFSIZ 257
4 #define ISO9660_STANDARD_ID "CD001" /* Standard code for ISO9660 filesystems */
6 #define NR_DIR_RECORDS 256 /* Number of dir records to use at the same
7 * time. */
8 #define NR_ATTR_RECS 256 /* Number of extended attributes that is
9 * possible to use at the same time */
10 /* #define NR_ID_INODES 1024 */ /* The ISO9660 doesn't save the inode numbers.
11 * There is a table that assign to every inode
12 * a particular id. This number defines the
13 * maximum number of ids the filesystem can
14 * handle */
16 #define NO_ADDRESS (-1) /* Error constants */
17 #define NO_FREE_INODES (-1)
19 #define PATH_PENULTIMATE 001 /* parse_path stops at last but one name */
20 #define PATH_NONSYMBOLIC 004 /* parse_path scans final name if symbolic */
22 #define DIR_ENTRY_SIZE sizeof (struct direct)
23 #define NR_DIR_ENTRIES(b) ((b)/DIR_ENTRY_SIZE)
25 /* Below there are constant of the ISO9660 fs */
27 #define ISO9660_SUPER_BLOCK_POSITION (32768)
28 #define ISO9660_MIN_BLOCK_SIZE 2048
30 /* SIZES FIELDS ISO9660 STRUCTURES */
31 #define ISO9660_SIZE_STANDARD_ID 5
32 #define ISO9660_SIZE_BOOT_SYS_ID 32
33 #define ISO9660_SIZE_BOOT_ID 32
35 #define ISO9660_SIZE_SYS_ID 32
36 #define ISO9660_SIZE_VOLUME_ID 32
37 #define ISO9660_SIZE_VOLUME_SET_ID 128
38 #define ISO9660_SIZE_PUBLISHER_ID 128
39 #define ISO9660_SIZE_DATA_PREP_ID 128
40 #define ISO9660_SIZE_APPL_ID 128
41 #define ISO9660_SIZE_COPYRIGHT_FILE_ID 37
42 #define ISO9660_SIZE_ABSTRACT_FILE_ID 37
43 #define ISO9660_SIZE_BIBL_FILE_ID 37
45 #define ISO9660_SIZE_VOL_CRE_DATE 17
46 #define ISO9660_SIZE_VOL_MOD_DATE 17
47 #define ISO9660_SIZE_VOL_EXP_DATE 17
48 #define ISO9660_SIZE_VOL_EFF_DATE 17
50 #define ISO9660_SIZE_ESCAPE_SQC 32
51 #define ISO9660_SIZE_PART_ID 32
53 #define ISO9660_SIZE_SYSTEM_USE 64
55 /* maximum size of length of name file used in dir records */
56 #define ISO9660_MAX_FILE_ID_LEN 32
58 #define END_OF_FILE (-104) /* eof detected */
60 /* Miscellaneous constants */
61 #define SYS_UID ((uid_t) 0) /* uid_t for processes PM and INIT */
62 #define SYS_GID ((gid_t) 0) /* gid_t for processes PM and INIT */