Lines Matching full:is
45 Here is an example:
47 Let's say /mnt has a mount that is shared::
52 so the sample 'smount' program is no longer needed and has been
82 And the same is true even when /dev/sd0 is mounted on /mnt/a. The
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.
91 Here is an example:
93 Let's say /mnt has a mount which is shared.
99 the new mount at /tmp becomes a shared mount and it is a replica of
131 This is the mount we are familiar with. Its the default type.
134 2d) A unbindable mount is a unbindable private mount
146 Binding a unbindable mount is a invalid operation.
175 mount at /cdrom which is a replica of the same mount in the
178 So when a CD is inserted and mounted at /cdrom that mount gets
217 If the entire mount tree is visible at multiple locations, then
222 An example is::
237 filesystem is being requested and return the corresponding
258 A 'propagation event' is defined as event generated on a vfsmount
261 A 'peer group' is defined as a group of vfsmounts that propagate
266 A 'shared mount' is defined as a vfsmount that belongs to a
282 A 'slave mount' is defined as a vfsmount that receives
292 A shared mount that is made as a slave is no more shared unless
298 indicates that the mount is a slave of some vfsmount, and
303 Strictly speaking, the vfsmount is shared having its own
304 peer group, and this peer-group is a slave of some other
316 A 'private mount' is defined as vfsmount that does not
321 A 'unbindable mount' is defined as vfsmount that does not
348 * if the shared mount is the only mount in its peer group, making it
349 slave, makes it private automatically. Note that there is no master to
364 where 'A' is the source mount, 'a' is the dentry in the mount 'A', 'B'
365 is the destination mount and 'b' is the dentry in the destination mount.
385 1. 'A' is a shared mount and 'B' is a shared mount. A new mount 'C'
386 which is clone of 'A', is created. Its root dentry is 'a' . 'C' is
389 propagates to. A new propagation tree containing 'C1',..,'Cn' is
390 created. This propagation tree is identical to the propagation tree of
391 'B'. And finally the peer-group of 'C' is merged with the peer group
394 2. 'A' is a private mount and 'B' is a shared mount. A new mount 'C'
395 which is clone of 'A', is created. Its root dentry is 'a'. 'C' is
398 propagates to. A new propagation tree is set containing all new mounts
402 3. 'A' is a slave mount of mount 'Z' and 'B' is a shared mount. A new
403 mount 'C' which is clone of 'A', is created. Its root dentry is 'a' .
404 'C' is mounted on mount 'B' at dentry 'b'. Also new mounts 'C1', 'C2',
407 'C','C1',.. 'Cn' is created. This propagation tree is identical to the
409 is made the slave of mount 'Z'. In other words, mount 'C' is in the
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
416 unbindable) mount. A new mount 'C' which is clone of 'A', is created.
417 Its root dentry is 'a'. 'C' is mounted on mount 'B' at dentry 'b'.
419 6. 'A' is a shared mount and 'B' is a non-shared mount. A new mount 'C'
420 which is a clone of 'A' is created. Its root dentry is 'a'. 'C' is
421 mounted on mount 'B' at dentry 'b'. 'C' is made a member of the
424 7. 'A' is a slave mount of mount 'Z' and 'B' is a non-shared mount. A
425 new mount 'C' which is a clone of 'A' is created. Its root dentry is
426 'a'. 'C' is mounted on mount 'B' at dentry 'b'. Also 'C' is set as a
432 8. 'A' is a unbindable mount and 'B' is a non-shared mount. This is a
437 rbind is same as bind. Bind replicates the specified mount. Rbind
439 Rbind mount is bind mount applied to all the mounts in the tree.
441 If the source tree that is rbind has some unbindable mounts,
442 then the subtree under the unbindable mount is pruned in the new
458 If this tree is rbound to say Z
466 B' Note how the tree under C is pruned
478 where 'A' is the source mount, 'B' is the destination mount and 'b' is
482 below is a quick reference::
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
504 propagation from mount 'B'. A new propagation tree is created in the
507 propagation tree is appended to the already existing propagation tree
510 2. 'A' is a private mount and 'B' is a shared mount. The mount 'A' is
514 propagation tree is created which is identical to that of
518 3. 'A' is a slave mount of mount 'Z' and 'B' is a shared mount. The
519 mount 'A' is mounted on mount 'B' at dentry 'b'. Also new mounts 'A1',
521 receive propagation from mount 'B'. A new propagation tree is created
524 propagation tree is appended to the already existing propagation tree of
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
531 propagation from 'B'. And since the mount 'A' is unbindable, cloning
532 it to mount at other mountpoints is not possible.
534 5. 'A' is a private mount and 'B' is a non-shared(private or slave or
535 unbindable) mount. The mount 'A' is mounted on mount 'B' at dentry 'b'.
537 6. 'A' is a shared mount and 'B' is a non-shared mount. The mount 'A'
538 is mounted on mount 'B' at dentry 'b'. Mount 'A' continues to be a
541 7. 'A' is a slave mount of mount 'Z' and 'B' is a non-shared mount.
542 The mount 'A' is mounted on mount 'B' at dentry 'b'. Mount 'A'
545 8. 'A' is a unbindable mount and 'B' is a non-shared mount. The mount
546 'A' is mounted on mount 'B' at dentry 'b'. Mount 'A' continues to be a
555 'B' is the destination mount and 'b' is the dentry in the destination
558 The above operation is the same as bind operation with the exception
559 that the source mount is always a private mount.
568 where 'A' is a mount mounted on mount 'B' at dentry 'b'.
570 If mount 'B' is shared, then all most-recently-mounted mounts at dentry
583 if 'C1' is unmounted, all the mounts that are most-recently-mounted on
587 on 'B2' at dentry 'b' is 'C2', and that of mount 'B3' is 'C3'.
591 If any of 'C2' or 'C3' has some child mounts, then that mount is not
592 unmounted, but all other mounts are unmounted. However if 'C1' is told
593 to be unmounted and 'C1' has some sub-mounts, the umount operation is
604 If 'A' is shared, then 'B' is also shared and 'A' and 'B' propagate to
607 If 'A' is a slave mount of 'Z', then 'B' is also the slave mount of
610 If 'A' is a private mount, then 'B' is a private mount too.
612 If 'A' is unbindable mount, then 'B' is a unbindable mount too.
618 A. What is the result of the following command sequence?
632 B. What is the result of the following command sequence?
643 C. What is the result of the following command sequence?
657 its root dentry is 1. Let's call this mount 'A'
663 'B' is the slave of 'A' and 'C' is a slave of 'B'
670 The mount is attempted on 'A'
680 Q1. Why is bind mount needed? How is it different from symbolic links?
683 other mount is unmounted or moved.
687 exportfs is a heavyweight way of accomplishing part of what
691 Q3 Why is unbindable mount needed?
697 the number of mounts created is an exponential function of 'n'.
699 mounts. Here is an example.
772 at step i the number of vfsmounts is V[i] = i*V[i-1].
773 This is an exponential function. And this tree has way more
777 out the unneeded mounts. But there is a better solution.
876 the vfsmount. MNT_SHARE indicates that the vfsmount is a shared
891 tree is modified by operations.
893 All vfsmounts in a peer group have the same ->mnt_master. If it is
912 'E' is also shared with 'K' and they propagate to each other. And
936 NOTE: The propagation tree is orthogonal to the mount tree.
971 is identical to the propagation tree of the destination
974 If this phase is successful, there should be 'n' new
975 propagation trees; where 'n' is the number of mounts in the
978 Also there should be 'm' new mount trees, where 'm' is