How to see the olddir after mount --bind olddir newdir?
- by freestyler
In my debian 7:
$ pwd
/home/freestyler
$ mkdir old new
# mount --bind old new
then
$ mount
/dev/cciss/c0d0p9 on /home/freestyler/new type ext4(rw,noatime,nodiratime,user_xattr,barrier=1,data=ordered)
I can only see the /dev/cciss/c0d0p9, which is not the same as /home/freestyler/old
How can I get the original olddir path?
In debian 6:
the mount outpt the olddir path well:
$ mount
/home/freestyler/old on /home/freestyler/new type none (rw,bind)