Re: HardLink ?

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

 



admin lewis <adminlewis@xxxxxxxxx> 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
>
>[root@mybox 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
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux