Lines Matching refs:mnt
42 Let's say /mnt has a mount that is shared::
44 # mount --make-shared /mnt
53 # mount --bind /mnt /tmp
55 The above command replicates the mount at /mnt to the mountpoint /tmp
60 #ls /mnt
73 # ls /mnt/a
76 Note that the mount has propagated to the mount at /mnt as well.
78 And the same is true even when /dev/sd0 is mounted on /mnt/a. The
89 Let's say /mnt has a mount which is shared::
91 # mount --make-shared /mnt
93 Let's bind mount /mnt to /tmp::
95 # mount --bind /mnt /tmp
98 the mount at /mnt.
100 Now let's make the mount at /tmp; a slave of /mnt::
104 let's mount /dev/sd0 on /mnt/a::
106 # mount /dev/sd0 /mnt/a
108 # ls /mnt/a
124 # ls /mnt/b
127 /mnt
138 let's say we have a mount at /mnt and we make it unbindable::
140 # mount --make-unbindable /mnt
144 # mount --bind /mnt /tmp mount: wrong fs type, bad option, bad
145 superblock on /mnt, or too many mounted file systems
267 mount --make-shared /mnt
268 mount --bind /mnt /tmp
270 The mount at /mnt and that at /tmp are both shared and belong
272 /mnt or /tmp reflect in all the other mounts of its peer
618 mount --bind /mnt /mnt
619 mount --make-shared /mnt
620 mount --bind /mnt /tmp
621 mount --move /tmp /mnt/1
623 what should be the contents of /mnt /mnt/1 /mnt/1/1 should be?
624 Should they all be identical? or should /mnt and /mnt/1 be
643 mount --bind /mnt /mnt
644 mount --make-shared /mnt
645 mkdir -p /mnt/1/2/3 /mnt/1/test
646 mount --bind /mnt/1 /tmp
647 mount --make-slave /mnt
648 mount --make-shared /mnt
649 mount --bind /mnt/1/2 /tmp1
650 mount --make-slave /mnt
656 Next we have a third mount at /mnt with root dentry
657 mnt. Let's call this mount 'C'
671 /mnt/1/test be?