Lines Matching full:shared

4 Shared Subtrees
24 that got mounted recently. Shared subtree semantics provide the necessary
33 Shared subtree provides four different flavors of mounts; struct vfsmount to be
36 a. shared mount
42 2a) A shared mount can be replicated to as many mountpoints and all the
47 Let's say /mnt has a mount that is shared::
49 mount --make-shared /mnt
51 Note: mount(8) command now supports the --make-shared flag,
86 2b) A slave mount is like a shared mount except that mount and umount events
89 All slave mounts have a master mount which is a shared.
93 Let's say /mnt has a mount which is shared.
94 # mount --make-shared /mnt
99 the new mount at /tmp becomes a shared mount and it is a replica of
154 mount --make-shared mountpoint
168 The system administrator can make the mount at /cdrom shared::
171 mount --make-shared /cdrom
223 mount --make-shared /
251 1) shared
253 3) shared and slave
263 (1) Shared mounts
265 A 'shared mount' is defined as a vfsmount that belongs to a
270 mount --make-shared /mnt
273 The mount at /mnt and that at /tmp are both shared and belong
286 the slave mount to the master. Only a shared mount can be made
291 A shared mount that is made as a slave is no more shared unless
292 modified to become shared.
294 (3) Shared and Slave
296 A vfsmount can be both shared as well as slave. This state
302 Strictly speaking, the vfsmount is shared having its own
306 Only a slave vfsmount can be made as 'shared and slave' by
309 mount --make-shared mount
311 or by moving the slave vfsmount under a shared vfsmount.
331 | |make-shared | make-slave | make-private |make-unbindab|
333 |shared |shared |*slave/private| private | unbindable |
336 |slave |shared | **slave | private | unbindable |
339 |shared |shared | slave | private | unbindable |
342 |private |shared | **private | private | unbindable |
344 |unbindable |shared |**unbindable | private | unbindable |
347 * if the shared mount is the only mount in its peer group, making it
351 ** slaving a non-shared mount has no effect on the mount.
372 |source(A)->| shared | private | slave | unbindable |
377 | shared | shared | shared | shared & slave | invalid |
379 |non-shared| shared | private | slave | invalid |
384 1. 'A' is a shared mount and 'B' is a shared mount. A new mount 'C'
393 2. 'A' is a private mount and 'B' is a shared mount. A new mount 'C'
401 3. 'A' is a slave mount of mount 'Z' and 'B' is a shared mount. A new
409 state 'slave and shared'.
411 4. 'A' is a unbindable mount and 'B' is a shared mount. This is a
414 5. 'A' is a private mount and 'B' is a non-shared(private or slave or
418 6. 'A' is a shared mount and 'B' is a non-shared mount. A new mount 'C'
423 7. 'A' is a slave mount of mount 'Z' and 'B' is a non-shared mount. A
431 8. 'A' is a unbindable mount and 'B' is a non-shared mount. This is a
486 | source(A)->| shared | private | slave | unbindable |
491 | shared | shared | shared |shared and slave| invalid |
493 |non-shared| shared | private | slave | unbindable |
496 .. Note:: moving a mount residing under a shared mount is invalid.
500 1. 'A' is a shared mount and 'B' is a shared mount. The mount 'A' is
509 2. 'A' is a private mount and 'B' is a shared mount. The mount 'A' is
512 propagation from mount 'B'. The mount 'A' becomes a shared mount and a
517 3. 'A' is a slave mount of mount 'Z' and 'B' is a shared mount. The
525 becomes 'shared'.
527 4. 'A' is a unbindable mount and 'B' is a shared mount. The operation
528 is invalid. Because mounting anything on the shared mount 'B' can
533 5. 'A' is a private mount and 'B' is a non-shared(private or slave or
536 6. 'A' is a shared mount and 'B' is a non-shared mount. The mount 'A'
538 shared mount.
540 7. 'A' is a slave mount of mount 'Z' and 'B' is a non-shared mount.
544 8. 'A' is a unbindable mount and 'B' is a non-shared mount. The mount
569 If mount 'B' is shared, then all most-recently-mounted mounts at dentry
573 Example: Let's say 'B1', 'B2', 'B3' are shared mounts that propagate to
603 If 'A' is shared, then 'B' is also shared and 'A' and 'B' propagate to
621 mount --make-shared /mnt
646 mount --make-shared /mnt
650 mount --make-shared /mnt
682 Q2. Why can't the shared subtree be implemented using exportfs?
685 shared subtree can do. I cannot imagine a way to implement the
713 mount --make-shared /root
872 the vfsmount. MNT_SHARE indicates that the vfsmount is a shared
876 All the shared vfsmounts in a peer group form a cyclic list through
893 [ NOTE: Though it looks like a forest, if we consider all the shared
905 In the above figure A,B,C and D all are shared and propagate to each
908 'E' is also shared with 'K' and they propagate to each other. And
937 by namespace_sem (exclusive for modifications, shared for reading).
941 The former modifies a vfsmount that has not been visible in any shared