[apols for breaking thread - only just subscribed]

Hi -

I've been trying to get rdiff-backup working under cygwin as well. I get
the same problems as you see. From what I can see fsync works under
windows/cygwin but doesnt work when the file is open read only:

So this doesnt work:

echo testing > fsync-testfile
python -c 'import os; os.fsync(os.open("fsync-testfile", os.O_RDONLY))'
rm fsync-testfile

but this does:

echo testing > fsync-testfile
python -c 'import os; os.fsync(os.open("fsync-testfile", os.O_RDWR))'
rm fsync-testfile


HTH

Marcus

--
Marcus Williams -- http://www.cad-schroer.co.uk
CAD Schroer UK, 39 Newnham Road, Cambridge, UK



_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to