]> git.pld-linux.org Git - packages/nfs-utils.git/blob - nfs-utils-union-mount.patch
- updated to 2.3.4
[packages/nfs-utils.git] / nfs-utils-union-mount.patch
1 --- nfs-utils-1.1.5/utils/mount/mount.c~        2009-03-05 12:42:56.000000000 +0100
2 +++ nfs-utils-1.1.5/utils/mount/mount.c 2009-05-20 16:44:08.581980119 +0200
3 @@ -94,6 +94,7 @@
4    { "sync",     0, 0, MS_SYNCHRONOUS},  /* synchronous I/O */
5    { "async",    0, 1, MS_SYNCHRONOUS},  /* asynchronous I/O */
6    { "dirsync",  0, 0, MS_DIRSYNC},      /* synchronous directory modifications */
7 +  { "union",   0, 0, MS_UNION  },      /* Union mount */
8    { "remount",  0, 0, MS_REMOUNT},      /* Alter flags of mounted FS */
9    { "bind",     0, 0, MS_BIND   },      /* Remount part of tree elsewhere */
10    { "rbind",    0, 0, MS_BIND|MS_REC }, /* Idem, plus mounted subtrees */
11 --- nfs-utils-1.1.5/utils/mount/mount_constants.h~      2009-03-05 12:42:56.000000000 +0100
12 +++ nfs-utils-1.1.5/utils/mount/mount_constants.h       2009-05-20 16:42:50.292974566 +0200
13 @@ -21,6 +21,9 @@
14  if we have a stack or plain mount - mount atop of it, forming a stack. */
15  #define        MS_OVER         0x200   /* 512 */
16  #endif
17 +#ifndef MS_UNION
18 +#define MS_UNION       0x100   /* 256: Mount on top of a union */
19 +#endif
20  #ifndef MS_NOATIME
21  #define MS_NOATIME     0x400   /* 1024: Do not update access times. */
22  #endif
This page took 0.028143 seconds and 3 git commands to generate.