mount --bind not reporting source directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When bind mounting a directory the source directory is not recorded
somewhere, instead the device at where the source directory resides is
recorded as origin.because of that the source directory name can't be
used as "key" to revert the bind mount later. See below

jonas@Atlas /tmp]sudo mount --bind /tmp/foo /tmp/bar
jonas@Atlas /tmp]mount
[...]
/dev/root on /tmp/bar type reiserfs (rw,relatime)

If I want to revert this I cannot use 'umount /tmp/foo', which I would
like to be able to do.

-- 
/Jonas
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux