Red Hat Bugzilla – Bug 87658
mount --bind creates directories with shared dev/ino
Last modified: 2007-04-18 12:52:36 EDT
Description of problem:
The device/inode numbers of the mount-point and the source directory of a bind
mount are the same.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
mkdir x y
mount --bind x y
stat --format='%d %n' x y
ln x/foo y/bar
ln: creating hard link `y/bar' to `x/foo': Invalid cross-device link
Different device numbers.
This is connected with bug #86302 (cp --preserve=links vs mount --bind).
it's the same device.... what's the issue ??????
That ln is told it can't make a *cross*-device link, i.e. a link between two
If the mount points are the same device, why can't I make a link between them?
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases,
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/