HardLink ?

admin lewis adminlewis at gmail.com
Thu Dec 9 09:45:48 UTC 2010


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)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/tmp on /tmp type none (rw,bind)
/var/tmp on /var/tmp type none (rw,bind)
/home on /home type none (rw,bind)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
gvfs-fuse-daemon on /home/myuser/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=lewis)

and

[root at whitebox vsftpd]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_mybox-lv_root
                      226G   85G  139G  39% /
tmpfs                 992M  576K  991M   1% /dev/shm
/dev/sda1             194M   90M  105M  47% /boot

any ideas ?


-- 
Thanks Lewis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20101209/9a2007df/attachment-0001.html 


More information about the users mailing list