-#define ISO_VOLBOOT 0 // Boot Record
-#define ISO_VOLPRIM 1 // Primary
-#define ISO_VOLSUPP 2 // Supplementary
-#define ISO_VOLPART 3 // Partition
-#define ISO_VOLTERM 255 // Volume descriptor set terminator
+#define ISO_VOLBOOT 0 // Boot Record
+#define ISO_VOLPRIM 1 // Primary
+#define ISO_VOLSUPP 2 // Supplementary
+#define ISO_VOLPART 3 // Partition
+#define ISO_VOLTERM 255 // Volume descriptor set terminator
struct iso_datetime ex_time; // expiration
struct iso_datetime ef_time; // effective
u8_t fstruct_ver; // file structure version, don't care!
struct iso_datetime ex_time; // expiration
struct iso_datetime ef_time; // effective
u8_t fstruct_ver; // file structure version, don't care!
// Layout for Supplementary Vol. is almost identical to primary vol.
// We ignore it for now. (see section 8.5, table 6)
// Layout for Supplementary Vol. is almost identical to primary vol.
// We ignore it for now. (see section 8.5, table 6)
u8_t payload[0];
// There is also a escape sequence after payload,
// It however marked as optional, hence we ignore it.
u8_t payload[0];
// There is also a escape sequence after payload,
// It however marked as optional, hence we ignore it.
int
iso9660_write(struct v_inode* inode, void* buffer, size_t len, size_t fpos);
int
iso9660_write(struct v_inode* inode, void* buffer, size_t len, size_t fpos);