X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=UXYzZwPSP8KOf/FL6namVxbh2zy4IcGUMUO8rr3LyFj3CrGZ81w/L
	qY2PKeodMUYqIKLJtqj63TwWedp2qd4MBIDU/zQodx6AbpzFH/kFBC1NTwuSTDmP
	qxDDeIp0zuFr1u4UBQBYswtb0pB6b8PFD7G/ths6g4dILw25STWCe0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:message-id:to:subject
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=6TpwXkp2dsk28MlhjK6IK2BSQUo=; b=oKgT1BX9I+/cDQ+YKJ/Jm1+ZXaYs
	GFxSGKKFQ5K+sWPQ80vG1BUlmGHFbWbPgZ0/sJIKVGW+Qm3V7ohLaKrVL72Hos2/
	AvARylM8DHfoWq5ET+j+AqKoPb/RDSR5lLH2EEVcHADXlVEBUu9lN9v39A/WXx7D
	oT3T+fir9aqn1so=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=BAYES_05,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*MI:yandex, networking, all!, H*UA:Bat!
X-HELO: forward3o.cmail.yandex.net
Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0
Date: Sat, 20 May 2017 00:37:32 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <9810467454.20170520003732@yandex.ru>
To: All <cygwin@cygwin.com>
Subject: 5 seconds to update link info?
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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

