[Comm] mount -o bind
Kharitonov A. Dmitry
kharpost на rambler.ru
Ср Июл 25 10:23:23 MSK 2012
25.07.2012 10:12, Grigory Milev пишет:
> mount --bind ~/tmp1 ~/tmp2
[user на eeedima ~ 10:18:02]$ sudo umount ~/tmp1 ~/tmp2
umount: /home/user/tmp1: not mounted
umount: /home/user/tmp2: not mounted
[user на eeedima ~ 10:18:06]$ sudo mount --bind ~/tmp1 ~/tmp2
[user на eeedima ~ 10:18:16]$ mount
---8<---
/dev/sde1 on /home type ext4
(rw,nosuid,relatime,user_xattr,acl,barrier=1,data=ordered,discard)
---8<---
/dev/sde1 on /home/user/tmp2 type ext4
(rw,nosuid,relatime,user_xattr,acl,barrier=1,data=ordered,discard)
[user на eeedima ~ 10:18:22]$ ls tmp2
[user на eeedima ~ 10:19:27]$ uname -r
3.0.36-std-def-alt0.M60P.1
[user на eeedima ~ 10:19:36]$ mount --version
mount from util-linux 2.19.1 (with libblkid and selinux support)
[user на eeedima ~ 10:19:55]$ rpm -q util-linux
util-linux-2.19.1-alt2
ничего не поменялось
Подробная информация о списке рассылки community