packages: nfs-utils/nfs-utils-union-mount.patch (NEW) - union mount support
baggins
baggins at pld-linux.org
Wed May 20 16:54:10 CEST 2009
Author: baggins Date: Wed May 20 14:54:10 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- union mount support
---- Files affected:
packages/nfs-utils:
nfs-utils-union-mount.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/nfs-utils/nfs-utils-union-mount.patch
diff -u /dev/null packages/nfs-utils/nfs-utils-union-mount.patch:1.1
--- /dev/null Wed May 20 16:54:10 2009
+++ packages/nfs-utils/nfs-utils-union-mount.patch Wed May 20 16:54:05 2009
@@ -0,0 +1,22 @@
+--- nfs-utils-1.1.5/utils/mount/mount.c~ 2009-03-05 12:42:56.000000000 +0100
++++ nfs-utils-1.1.5/utils/mount/mount.c 2009-05-20 16:44:08.581980119 +0200
+@@ -94,6 +94,7 @@
+ { "sync", 0, 0, MS_SYNCHRONOUS}, /* synchronous I/O */
+ { "async", 0, 1, MS_SYNCHRONOUS}, /* asynchronous I/O */
+ { "dirsync", 0, 0, MS_DIRSYNC}, /* synchronous directory modifications */
++ { "union", 0, 0, MS_UNION }, /* Union mount */
+ { "remount", 0, 0, MS_REMOUNT}, /* Alter flags of mounted FS */
+ { "bind", 0, 0, MS_BIND }, /* Remount part of tree elsewhere */
+ { "rbind", 0, 0, MS_BIND|MS_REC }, /* Idem, plus mounted subtrees */
+--- nfs-utils-1.1.5/utils/mount/mount_constants.h~ 2009-03-05 12:42:56.000000000 +0100
++++ nfs-utils-1.1.5/utils/mount/mount_constants.h 2009-05-20 16:42:50.292974566 +0200
+@@ -21,6 +21,9 @@
+ if we have a stack or plain mount - mount atop of it, forming a stack. */
+ #define MS_OVER 0x200 /* 512 */
+ #endif
++#ifndef MS_UNION
++#define MS_UNION 0x100 /* 256: Mount on top of a union */
++#endif
+ #ifndef MS_NOATIME
+ #define MS_NOATIME 0x400 /* 1024: Do not update access times. */
+ #endif
================================================================
More information about the pld-cvs-commit
mailing list