HardLink ?

Jussi Lehtola jussilehtola at fedoraproject.org
Thu Dec 9 09:59:37 UTC 2010


On Thu, 9 Dec 2010 10:45:48 +0100
admin lewis <adminlewis at gmail.com> 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 at mybox vsftpd]# mount
> /dev/mapper/vg_mybox-lv_root on / type ext4 (rw)
(clip)
> /home on /home type none (rw,bind)

This here is the probable cause of your problem...
-- 
Jussi Lehtola
Fedora Project Contributor
jussilehtola at fedoraproject.org


More information about the users mailing list