[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] failure backing up to windows partition
From: |
Ben Escoto |
Subject: |
Re: [rdiff-backup-users] failure backing up to windows partition |
Date: |
Sun, 23 Mar 2003 22:09:22 -0800 |
>>>>> "KE" == Keith Edmunds <address@hidden>
>>>>> wrote the following on Sun, 23 Mar 2003 20:11:03 +0000
KE> I've tried the patch - thanks Ben: details below. I'm not sure
KE> that disabling chown automatically for --windows-mode is the
KE> right thing to do - as I recall, if the destination partition is
KE> a cygwin partition (obviously running under Windows) then the
KE> chown _will_ work, although of course --windows-mode still needs
KE> to be specified.
I see, so I guess we need to distinguish between windows under cygwin
and a normal windows file system? I suppose this needs another
option, although Greg Freemyer posted some code to recognize vfat
systems mounted under linux in some circumstances. How does cygwin
store ownership information?
KE> "/usr/lib/python2.2/site-packages/rdiff_backup/rpath.py", line
KE> 904, in fsync os.fsync(fp.fileno()) OSError: [Errno 22] Invalid
KE> argument
The problem here seems to be that a directory cannot be fsync'd.
Perhaps your file system does not allow that operation? Under linux
it is required to guarantee that a file has been added to a
directory.
When I mount a vfat file system under linux, fsync does work:
Python 2.2.1 (#1, Aug 30 2002, 12:15:30)
[GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> fp = open("/mnt/fat/temp", "rb")
>>> os.fsync(fp.fileno())
>>>
Does this fail for you?
--
Ben Escoto
pgpLEX4ESLKRg.pgp
Description: PGP signature
- [rdiff-backup-users] failure backing up to windows partition, Keith Edmunds, 2003/03/21
- Re: [rdiff-backup-users] failure backing up to windows partition, Ben Escoto, 2003/03/21
- Re: [rdiff-backup-users] failure backing up to windows partition, Keith Edmunds, 2003/03/21
- Re: [rdiff-backup-users] failure backing up to windows partition, Ben Escoto, 2003/03/21
- Re: [rdiff-backup-users] failure backing up to windows partition, Keith Edmunds, 2003/03/23
- Re: [rdiff-backup-users] failure backing up to windows partition,
Ben Escoto <=
- Re: [rdiff-backup-users] failure backing up to windows partition, Keith Edmunds, 2003/03/24
- Re: [rdiff-backup-users] failure backing up to windows partition, Ben Escoto, 2003/03/26
- Re: [rdiff-backup-users] failure backing up to windows partition, Keith Edmunds, 2003/03/27