public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* 5 seconds to update link info?
@ 2017-05-19 22:01 Andrey Repin
  2017-05-19 22:10 ` Richard H Lee
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Andrey Repin @ 2017-05-19 22:01 UTC (permalink / raw)
  To: All

Greetings, All!

_a=fileA;
_b=fileB;
[ ! -f "$_a" ] && touch "$_a";
[ ! -f "$_b" ] && ln "$_a" "$_b";
for i in $(seq 1 10);
do sleep 1;
[ "$_a" -ef "$_b" ] && { echo Timed in $i; break;}; done;
rm "$_a" "$_b"

When executed this oneliner over Samba 4.3 network share, it takes 5 seconds
to match the newly created hardlink.
I'm wondering if this is Cygwin, Samba or Windows networking issue?


-- 
With best regards,
Andrey Repin
Saturday, May 20, 2017 00:31:35

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-05-29 19:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-19 22:01 5 seconds to update link info? Andrey Repin
2017-05-19 22:10 ` Richard H Lee
2017-05-20  0:50   ` Richard H Lee
2017-05-20  4:17     ` Andrey Repin
2017-05-20 20:04       ` Richard H Lee
2017-05-20 20:00 ` L A Walsh
2017-05-29  9:58 ` 5 seconds to update link info? (cause found) L A Walsh
2017-05-29 20:05   ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).