summaryrefslogtreecommitdiff
path: root/sys/isofs/udf/udf.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2009-08-14 22:23:46 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2009-08-14 22:23:46 +0000
commit4f8bb894710e6a2cc1f46b6a005873875815e6e7 (patch)
treedae566b4d01676a1702f3c3ef9af734343c15e17 /sys/isofs/udf/udf.h
parent9baabc7a1abe127297baad825172a45c4d172b78 (diff)
First cut at UDF 2.[56] support, allowing read-only access to HDDVD
and Blu-ray disks. Previously working DVDs should still work. Done at f2k9 with phessler@. Vnode bug squashing by beck@. Thanks to Bryan Brake for sending HDDVD/Blu-ray hardware and disks to f2k9 in Stockholm. ok beck@ dlg@ phessler@
Diffstat (limited to 'sys/isofs/udf/udf.h')
-rw-r--r--sys/isofs/udf/udf.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/isofs/udf/udf.h b/sys/isofs/udf/udf.h
index 1d8ecb758c1..bd049a50d3e 100644
--- a/sys/isofs/udf/udf.h
+++ b/sys/isofs/udf/udf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: udf.h,v 1.12 2007/12/09 20:54:01 jmc Exp $ */
+/* $OpenBSD: udf.h,v 1.13 2009/08/14 22:23:45 krw Exp $ */
/*
* Copyright (c) 2001, 2002 Scott Long <scottl@freebsd.org>
@@ -46,7 +46,7 @@ struct unode {
long u_diroff;
long u_vatlen;
} un_u;
- struct file_entry *u_fentry;
+ struct extfile_entry *u_fentry;
};
#define u_diroff un_u.u_diroff
@@ -61,7 +61,11 @@ struct umount {
int um_bshift;
int um_bmask;
uint32_t um_start;
+ uint32_t um_realstart;
uint32_t um_len;
+ uint32_t um_reallen;
+ uint32_t um_meta_start;
+ uint32_t um_meta_len;
struct unode *um_vat;
struct long_ad um_root_icb;
LIST_HEAD(udf_hash_lh, unode) *um_hashtbl;
@@ -74,6 +78,7 @@ struct umount {
#define UDF_MNT_FIND_VAT 0x01 /* Indicates a VAT must be found */
#define UDF_MNT_USES_VAT 0x02 /* Indicates a VAT must be used */
+#define UDF_MNT_USES_META 0x04 /* Indicates we are using a Metadata partition*/
struct udf_dirstream {
struct unode *node;