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
155 mount --make-shared mountpoint
169 The system administrator can make the mount at /cdrom shared::
172 mount --make-shared /cdrom
224 mount --make-shared /
252 1) shared
254 3) shared and slave
264 (1) Shared mounts
266 A 'shared mount' is defined as a vfsmount that belongs to a
271 mount --make-shared /mnt
274 The mount at /mnt and that at /tmp are both shared and belong
287 the slave mount to the master. Only a shared mount can be made
292 A shared mount that is made as a slave is no more shared unless
293 modified to become shared.
295 (3) Shared and Slave
297 A vfsmount can be both shared as well as slave. This state
303 Strictly speaking, the vfsmount is shared having its own
307 Only a slave vfsmount can be made as 'shared and slave' by
310 mount --make-shared mount
312 or by moving the slave vfsmount under a shared vfsmount.
332 | |make-shared | make-slave | make-private |make-unbindab|
334 |shared |shared |*slave/private| private | unbindable |
337 |slave |shared | **slave | private | unbindable |
340 |shared |shared | slave | private | unbindable |
343 |private |shared | **private | private | unbindable |
345 |unbindable |shared |**unbindable | private | unbindable |
348 * if the shared mount is the only mount in its peer group, making it
352 ** slaving a non-shared mount has no effect on the mount.
373 |source(A)->| shared | private | slave | unbindable |
378 | shared | shared | shared | shared & slave | invalid |
380 |non-shared| shared | private | slave | invalid |
385 1. 'A' is a shared mount and 'B' is a shared mount. A new mount 'C'
394 2. 'A' is a private mount and 'B' is a shared mount. A new mount 'C'
402 3. 'A' is a slave mount of mount 'Z' and 'B' is a shared mount. A new
410 state 'slave and shared'.
412 4. 'A' is a unbindable mount and 'B' is a shared mount. This is a
415 5. 'A' is a private mount and 'B' is a non-shared(private or slave or
419 6. 'A' is a shared mount and 'B' is a non-shared mount. A new mount 'C'
424 7. 'A' is a slave mount of mount 'Z' and 'B' is a non-shared mount. A
432 8. 'A' is a unbindable mount and 'B' is a non-shared mount. This is a
487 | source(A)->| shared | private | slave | unbindable |
492 | shared | shared | shared |shared and slave| invalid |
494 |non-shared| shared | private | slave | unbindable |
497 .. Note:: moving a mount residing under a shared mount is invalid.
501 1. 'A' is a shared mount and 'B' is a shared mount. The mount 'A' is
510 2. 'A' is a private mount and 'B' is a shared mount. The mount 'A' is
513 propagation from mount 'B'. The mount 'A' becomes a shared mount and a
518 3. 'A' is a slave mount of mount 'Z' and 'B' is a shared mount. The
526 becomes 'shared'.
528 4. 'A' is a unbindable mount and 'B' is a shared mount. The operation
529 is invalid. Because mounting anything on the shared mount 'B' can
534 5. 'A' is a private mount and 'B' is a non-shared(private or slave or
537 6. 'A' is a shared mount and 'B' is a non-shared mount. The mount 'A'
539 shared mount.
541 7. 'A' is a slave mount of mount 'Z' and 'B' is a non-shared mount.
545 8. 'A' is a unbindable mount and 'B' is a non-shared mount. The mount
570 If mount 'B' is shared, then all most-recently-mounted mounts at dentry
574 Example: Let's say 'B1', 'B2', 'B3' are shared mounts that propagate to
604 If 'A' is shared, then 'B' is also shared and 'A' and 'B' propagate to
623 mount --make-shared /mnt
648 mount --make-shared /mnt
652 mount --make-shared /mnt
685 Q2. Why can't the shared subtree be implemented using exportfs?
688 shared subtree can do. I cannot imagine a way to implement the
716 mount --make-shared /root
876 the vfsmount. MNT_SHARE indicates that the vfsmount is a shared
880 All the shared vfsmounts in a peer group form a cyclic list through
897 [ NOTE: Though it looks like a forest, if we consider all the shared
909 In the above figure A,B,C and D all are shared and propagate to each
912 'E' is also shared with 'K' and they propagate to each other. And
941 by namespace_sem (exclusive for modifications, shared for reading).
945 The former modifies a vfsmount that has not been visible in any shared