Hugo Connery
2010-May-28 14:31 UTC
[Samba] FW: smbd *not* breaking hard links when saving files
Hi Tim et al., Yes, I can see that the new behaviour would seem like an 'optimization', possibly especially for large files, in that it saves the unlink operation. was (quasi): unlink, open(write), write data, close now is (quasi): open(write, truncate), write data, close However, this old behaviour enabled my rather nice hard link copy (cheap!) local backup. The question is, is the old type of behaviour still available? (config option, compile option etc.) Regards, Hugo> From: tms3 at tms3.com [tms3 at tms3.com] > Sent: Friday, May 28, 2010 14:16 > To: Hugo Connery > Subject: Re: [Samba] smbd *not* breaking hard links when saving files > > smbd does not seem to do this anymore (RedHat distribution 3.0.33 x86_64). That is, when one > saves a file the link is not broken, and both hard links (served and backup) are the same > (the new version). This defeats my backup mechanism.I have no idea how to answer your question, just gotta say that is pretty brilliant. I thought that was a bug...but it's a feature! Cheers, TMS III