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): 2.4.20-8 How reproducible: 100% Steps to Reproduce: As root: mkdir x y mount --bind x y stat --format='%d %n' x y touch x/foo ln x/foo y/bar Actual results: 773 x 773 y ln: creating hard link `y/bar' to `x/foo': Invalid cross-device link Expected results: Different device numbers. Additional info: 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 different devices. 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 persists. 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/