DO NOT REPLY [Bug 7618] symlinks and --link-dest

samba-bugs at samba.org samba-bugs at samba.org
Sat Aug 14 16:20:20 MDT 2010


https://bugzilla.samba.org/show_bug.cgi?id=7618





------- Comment #14 from the_majkl at seznam.cz  2010-08-14 17:20 CST -------
I created .tsm on one one Linux rsync servers, rsynced, moved and rsynced with
--link-dest:

[root at zaloha pokus]# grep .tsm rsync2_samba.traced
[pid  9576] lstat("home/zumrova/.tsm", 0x7fff66893b80) = -1 ENOENT (No such
file or directory)
[pid  9576] lstat("/root/pokus/hpuh1/home/zumrova/.tsm", {st_mode=S_IFLNK|0777,
st_size=13, ...}) = 0
[pid  9576] readlink("/root/pokus/hpuh1/home/zumrova/.tsm", "/usr/tsm/.tsm",
4095) = 13
[pid  9576] lstat("/root/pokus/samba1/home/zumrova/.tsm",
{st_mode=S_IFLNK|0777, st_size=13, ...}) = 0
[pid  9576] readlink("/root/pokus/samba1/home/zumrova/.tsm", "/usr/tsm/.tsm",
4095) = 13
[pid  9576] link("/root/pokus/samba1/home/zumrova/.tsm", "home/zumrova/.tsm") =
0
[root at zaloha pokus]#

Hardlink creation can be seen here. 


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list