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

 



admin lewis <[email protected]> wrote:
>
>Hi,
>I'm trying to make an hardlink between in this way:
>ln /my/path/source/file.txt /blah/blah/file.txt/
>but I've got the following error:
>ln: creating hard link `...../..../....' => `......../....../': Invalid
>cross-device link
>I've only one root filesystem so it's strange that error about
>cross-device..
>the source file is in /home/...... and the link target is in /var/ftp.....
>the following is my mount
>
>[[email protected] vsftpd]# mount
>/dev/mapper/vg_mybox-lv_root on / type ext4 (rw)
>/home on /home type none (rw,bind)

You cannot create a hard link between these two file systems.  Linux 'sees' them as two different logical drives with two different super-inodes.  It is possible to create a soft-link however.

James McKenzie

-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]
  Powered by Linux