Bug 786719 - hardlink does not ignore other filesystems
Summary: hardlink does not ignore other filesystems
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: hardlink
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-02 08:45 UTC by Need Real Name
Modified: 2013-07-02 23:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-15 09:22:45 UTC
Type: ---


Attachments (Terms of Use)

Description Need Real Name 2012-02-02 08:45:41 UTC
Description of problem:
If I run hardlink on a directory which contains a sub-directory with a loopback iso mount, hardlink will produce a lot of warnings.

Version-Release number of selected component (if applicable):
hardlink-1.0-12.fc16.x86_64

How reproducible:
Every time.

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Warnings.

Expected results:
Do not try to hardlink the file (or hardlink it in the other direction, if that works).

Additional info:

Comment 1 Jindrich Novy 2012-04-15 09:22:45 UTC
Fixed in rawhide.

I added -f option to override the default no hardlinking across filesystems behaviour.

Comment 2 Need Real Name 2012-04-15 11:35:09 UTC
Thanks. So will the warnings about trying to hardlink things on loopback mounts go away?

Comment 3 Jindrich Novy 2012-04-15 12:56:32 UTC
Yes. Actually hardlink will refuse to do any hardlinks from one to other filesystem as long as no -f option is specified.


Note You need to log in before you can comment on or make changes to this bug.