checkpoint
[unix-history] / usr / src / sys / miscfs / union / union.h
index c8172a7..9657ba9 100644 (file)
@@ -8,13 +8,19 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)union.h     1.8 (Berkeley) %G%
+ *     @(#)union.h     1.9 (Berkeley) %G%
  */
 
 struct union_args {
        char            *target;        /* Target of loopback  */
  */
 
 struct union_args {
        char            *target;        /* Target of loopback  */
+       int             mntflags;       /* Options on the mount */
 };
 
 };
 
+#define UNMNT_ABOVE    0x0001          /* Target appears below mount point */
+#define UNMNT_BELOW    0x0002          /* Target appears below mount point */
+#define UNMNT_REPLACE  0x0003          /* Target replaces mount point */
+#define UNMNT_OPMASK   0x0003
+
 struct union_mount {
        struct vnode    *um_uppervp;
        struct vnode    *um_lowervp;
 struct union_mount {
        struct vnode    *um_uppervp;
        struct vnode    *um_lowervp;