delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/19/17:50:31

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <9810467454.20170520003732@yandex.ru>
To: All <cygwin AT cygwin DOT com>
Subject: 5 seconds to update link info?
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019