Hello,

On Mon, Jul 31, 2006 at 09:30:35AM +0530, Kapil Hari Paranjape wrote:
> tags 349674 upstream
> thanks
> 
> Hello,
> 
> As reported in Debian bug #349674 which can be seen at
> 
>       http://bugs.debian.org/349674
> 
> Unison has problems when the file system is removed from under it.
> 
> For example, here is the result of my experiment.
> 
>       Setup: A USB drive is mounted at /media/fakehd0 
>              /media/fakehd0/a and /tmp/b are directories
>              that have already been synchronised by unison
>              in the past.
> 
>       Experiment:
>              Run the command 
>                 unison -batch -logfile /tmp/test.log /media/fakehd0/a /tmp/b
>              and unplug the USB drive from the machine before the
>              synchronisation can complete.
> 
>       Result:
>              The files on /tmp/b that were not synchronised before
>              the unplugging are deleted.
> 
>              In the logfile we see that there is an I/O error
>              recorded by unison before this problem occurs.
> 
>       Real World Scenario:
>              USB and floppy media are known to fail "mysteriously"
>              while they are being used. A problem like that above
>              could lead to a "backup" procedure deleting files
>              instead of backing them up!
> 
>       Possible solution:
>              unison should abort on I/O errors.
> 
> Thanks and regards,
> 

I see, you submitted the bug directly upstream... very well and thanks.

I hope it will be fixed in the next upstream release (but i think i will
backport changes to the current unison package).

Kind regard
Sylvain Le Gall


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to