Lines Matching full:shared

1 Shared Subtrees
21 that got mounted recently. Shared subtree semantics provide the necessary
30 Shared subtree provides four different flavors of mounts; struct vfsmount to be
33 a. shared mount
39 2a) A shared mount can be replicated to as many mountpoints and all the
44 Let's say /mnt has a mount that is shared.
45 mount --make-shared /mnt
47 Note: mount(8) command now supports the --make-shared flag,
76 2b) A slave mount is like a shared mount except that mount and umount events
79 All slave mounts have a master mount which is a shared.
83 Let's say /mnt has a mount which is shared.
84 # mount --make-shared /mnt
89 the new mount at /tmp becomes a shared mount and it is a replica of
143 mount --make-shared mountpoint
157 The system administrator can make the mount at /cdrom shared
159 mount --make-shared /cdrom
211 mount --make-shared /
238 1) shared
240 3) shared and slave
250 (1) Shared mounts
252 A 'shared mount' is defined as a vfsmount that belongs to a
256 mount --make-shared /mnt
259 The mount at /mnt and that at /tmp are both shared and belong
272 the slave mount to the master. Only a shared mount can be made
277 A shared mount that is made as a slave is no more shared unless
278 modified to become shared.
280 (3) Shared and Slave
282 A vfsmount can be both shared as well as slave. This state
288 Strictly speaking, the vfsmount is shared having its own
292 Only a slave vfsmount can be made as 'shared and slave' by
294 mount --make-shared mount
295 or by moving the slave vfsmount under a shared vfsmount.
313 | |make-shared | make-slave | make-private |make-unbindab|
315 |shared |shared |*slave/private| private | unbindable |
318 |slave |shared | **slave | private | unbindable |
321 |shared |shared | slave | private | unbindable |
324 |private |shared | **private | private | unbindable |
326 |unbindable |shared |**unbindable | private | unbindable |
329 * if the shared mount is the only mount in its peer group, making it
333 ** slaving a non-shared mount has no effect on the mount.
353 |source(A)->| shared | private | slave | unbindable |
358 | shared | shared | shared | shared & slave | invalid |
360 |non-shared| shared | private | slave | invalid |
365 1. 'A' is a shared mount and 'B' is a shared mount. A new mount 'C'
374 2. 'A' is a private mount and 'B' is a shared mount. A new mount 'C'
382 3. 'A' is a slave mount of mount 'Z' and 'B' is a shared mount. A new
390 state 'slave and shared'.
392 4. 'A' is a unbindable mount and 'B' is a shared mount. This is a
395 5. 'A' is a private mount and 'B' is a non-shared(private or slave or
399 6. 'A' is a shared mount and 'B' is a non-shared mount. A new mount 'C'
404 7. 'A' is a slave mount of mount 'Z' and 'B' is a non-shared mount. A
412 8. 'A' is a unbindable mount and 'B' is a non-shared mount. This is a
464 | source(A)->| shared | private | slave | unbindable |
469 | shared | shared | shared |shared and slave| invalid |
471 |non-shared| shared | private | slave | unbindable |
473 NOTE: moving a mount residing under a shared mount is invalid.
477 1. 'A' is a shared mount and 'B' is a shared mount. The mount 'A' is
486 2. 'A' is a private mount and 'B' is a shared mount. The mount 'A' is
489 propagation from mount 'B'. The mount 'A' becomes a shared mount and a
494 3. 'A' is a slave mount of mount 'Z' and 'B' is a shared mount. The
502 becomes 'shared'.
504 4. 'A' is a unbindable mount and 'B' is a shared mount. The operation
505 is invalid. Because mounting anything on the shared mount 'B' can
510 5. 'A' is a private mount and 'B' is a non-shared(private or slave or
513 6. 'A' is a shared mount and 'B' is a non-shared mount. The mount 'A'
515 shared mount.
517 7. 'A' is a slave mount of mount 'Z' and 'B' is a non-shared mount.
521 8. 'A' is a unbindable mount and 'B' is a non-shared mount. The mount
546 If mount 'B' is shared, then all most-recently-mounted mounts at dentry
550 Example: Let's say 'B1', 'B2', 'B3' are shared mounts that propagate to
580 If 'A' is shared, then 'B' is also shared and 'A' and 'B' propagate to
596 mount --make-shared /mnt
617 mount --make-shared /mnt
621 mount --make-shared /mnt
653 Q2. Why can't the shared subtree be implemented using exportfs?
656 shared subtree can do. I cannot imagine a way to implement the
680 mount --make-shared /root
823 the vfsmount. MNT_SHARE indicates that the vfsmount is a shared
827 All the shared vfsmounts in a peer group form a cyclic list through
844 [ NOTE: Though it looks like a forest, if we consider all the shared
856 In the above figure A,B,C and D all are shared and propagate to each
859 'E' is also shared with 'K' and they propagate to each other. And
883 by namespace_sem (exclusive for modifications, shared for reading).
887 The former modifies a vfsmount that has not been visible in any shared