rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] cygwin fsyncing again


From: Ben Escoto
Subject: Re: [rdiff-backup-users] cygwin fsyncing again
Date: Wed, 23 Nov 2005 21:07:11 -0600

>>>>> Marcus Williams <address@hidden>
>>>>> wrote the following on Wed, 23 Nov 2005 12:28:35 +0000
> 
> 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

The devel version tries to fsync RDWR if RDONLY fails, you may want to
test with that.


-- 
Ben Escoto

Attachment: pgpZricf9LlbP.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]