Re: [BLACKBOX] File write error with Windows7

From: [at]} <Wojtek>
Date: Sat, 8 Jun 2013 12:17:49 -0400

----boundary-LibPST-iamunique-1377520760_-_-
Content-type: text/plain

> Most interesting:
> When I place the file on drive C: the problem does not occur.
> The problem occurs only with the file residing on a network drive and
> might depend on network traffic.

I can share my observation concerning networked files. I am using Linux
for my diskless instrument. I put executable programs in a shared
directory exported from Windows. The embedded Linux mounts that directory
with samba, and then Linux can execute the programs. I noticed that quite
often Linux sees an old version of the file despite the fact that I have
copied a new file over the old one at the Windows side. In other words,
for a brief time (a few minutes?) the content of the file seen by both
computers is inconsistent. I developed a simple remedy: I first delete the
file, and then I copy the new one to the same location.

My conclusion is that the networked file system (samba in this case) is
buffering the files somewhere in its guts. The synchronization happens at
unspecified time that can be as long as a few minutes. I have no idea how
and where it happens. The overall conclusion: be very cautious with
networked files and do not blame BlackBox, Windows, or Linux. The problem
is well hidden who knows where.

Wojtek
www.skutek.com


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1377520760_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGZiaWRpcyBcZGVmZjB7XGZvbnR0YmwN
CntcZjBcZnN3aXNzIEFyaWFsO30NCntcZjFcZm1vZGVybiBDb3VyaWVyIE5ldzt9DQp7XGYyXGZu
aWxcZmNoYXJzZXQyIFN5bWJvbDt9DQp7XGYzXGZtb2Rlcm5cZmNoYXJzZXQwIENvdXJpZXIgTmV3
O319DQp7XGNvbG9ydGJsXHJlZDBcZ3JlZW4wXGJsdWUwO1xyZWQwXGdyZWVuMFxibHVlMjU1O30N
Clx1YzFccGFyZFxwbGFpblxkZWZ0YWIzNjAgXGYwXGZzMjAgPiBNb3N0IGludGVyZXN0aW5nOlxw
YXINCj4gV2hlbiBJIHBsYWNlIHRoZSBmaWxlIG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Bhcg0KZmlsZSwgYW5kIHRoZW4gSSBjb3B5IHRoZSBuZXcgb25lIHRvIHRoZSBz
YW1lIGxvY2F0aW9uLlxwYXINClxwYXINCk15IGNvbmNsdXNpb24gaXMgdGhhdCB0aGUgbmV0d29y
a2VkIGZpbGUgc3lzdGVtIChzYW1iYSBpbiB0aGlzIGNhc2UpIGlzXHBhcg0KYnVmZmVyaW5nIHRo
ZSBmaWxlcyBzb21ld2hlcmUgaW4gaXRzIGd1dHMuIFRoZSBzeW5jaHJvbml6YXRpb24gaGFwcGVu
cyBhdFxwYXINCnVuc3BlY2lmaWVkIHRpbWUgdGhhdCBjYW4gYmUgYXMgbG9uZyBhcyBhIGZldyBt
aW51dGVzLiBJIGhhdmUgbm8gaWRlYSBob3dccGFyDQphbmQgd2hlcmUgaXQgaGFwcGVucy4gVGhl
IG92ZXJhbGwgY29uY2x1c2lvbjogYmUgdmVyeSBjYXV0aW91cyB3aXRoXHBhcg0KbmV0d29ya2Vk
IGZpbGVzIGFuZCBkbyBub3QgYmxhbWUgQmxhY2tCb3gsIFdpbmRvd3MsIG9yIExpbnV4LiBUaGUg
cHJvYmxlbVxwYXINCmlzIHdlbGwgaGlkZGVuIHdobyBrbm93cyB3aGVyZS5ccGFyDQpccGFyDQpX
b2p0ZWtccGFyDQp3d3cuc2t1dGVrLmNvbVxwYXINClxwYXINClxwYXINCi0tLS1ccGFyDQpUbyB1
bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0
byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0h9fQAubWFp
----boundary-LibPST-iamunique-1377520760_-_---
Received on Sat Jun 08 2013 - 18:17:49 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:29:53 UTC