On 28/08/15 21:41, Dave Chiluk wrote:
> Add me_mountroot to mount_entry so linux machines based on
> /proc/self/mountinfo can distinguish between bind mounts and original
> mounts. In reality bind mounts aren't treated any different than
> mountroot=/ mounts by the kernel, but this is still confusi
Add me_mountroot to mount_entry so linux machines based on
/proc/self/mountinfo can distinguish between bind mounts and original
mounts. In reality bind mounts aren't treated any different than
mountroot=/ mounts by the kernel, but this is still confusing to the
user, and a change in behavior
More
With the recent move to /proc/self/mountinfo `df` now returns bind mounts
instead of the original mount when the directory being bound to is shorter than
the original mount destination.
For example:
* $ mount
192.168.1.2:/raid on /raid type nfs
/dev/sdc5 on /data type ext4 (rw)
$ mount -o bind