Displaying 2 results from an estimated 2 matches for "enosp".
Did you mean:
enospc
2004 Dec 02
0
2.6.3: write error goes undetected
...this as
https://bugzilla.samba.org/show_bug.cgi?id=2116 ]
------------------
rsync-2.6.3 can fail to report a write error.
Here's a demonstration, writing to a full partition:
You can reproduce it like this:
$ echo foo > in
$ strace -f -o log rsync in /full/tmp
$ grep 'write.*ENOSP' log
4787 write(1, "foo\n", 4) = -1 ENOSPC (No space left on device)
$ rsync --version|head -n1
rsync version 2.6.3 protocol version 28
The cause seems to be this unchecked flush_write_file call:
Index: receiver.c
===============================================...
2004 Dec 02
0
[Bug 2116] New: rsync ignores write error
...rg
ReportedBy: jim@meyering.net
QAContact: rsync-qa@samba.org
rsync-2.6.3 can fail to report a write error.
Here's a demonstration, writing to a full partition:
You can reproduce it like this:
$ echo foo > in
$ strace -f -o log rsync in /full/tmp
$ grep 'write.*ENOSP' log
4787 write(1, "foo\n", 4) = -1 ENOSPC (No space left on device)
$ rsync --version|head -n1
rsync version 2.6.3 protocol version 28
The cause seems to be this unchecked flush_write_file call:
Index: receiver.c
===============================================...