www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/02/04/16:37:41

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 614LbfgL687050
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 614LbfgL687050
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=xMwavrVl
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B64BC4BA2E0C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1770241058;
bh=iCP2KEaYmlHuUNyTpskAkL5SNl+XZOlzNotr6CyT+J4=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=xMwavrVlvStLI1xN/mboJM+sTsooGHDtSQhuEM/we2bFsqgZDRNaWAjc+RHDIojP2
iqXdRCtzdl/pdumsOOcGK1tH6e3U54+bLLZ99EHq24EqGglYJQkGhMxY1VBlBn7QZt
yx/OFRzsDHRAaEr6yvYXEVTfQXzc5VcUw0QPweVk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 340EC4BA2E0E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 340EC4BA2E0E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770241039; cv=none;
b=Ub9JQPsaeYkFWM7dvmuN8Oa098iHavwCC6AACk62fjEd1yz5P7ut2rcAQtW+58BIiOn3B/H7b4Jxk8WLni+c+uhAGsn5G6YxFiEZeTLhwTimyLivnJ6DVadh8dmZk0JwTCJvQVtcDqifufxk4y6XWr52HqOyJKDMwWogfAC7pOU=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1770241039; c=relaxed/simple;
bh=RxqJeP2aJe3WMTMMa2UhtfpI03G+vbVLgj3ARWsVRoc=;
h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature;
b=Hs68QTUATJF6hSrV2HMHKUqotDVuq6QHoVfzf01H7DFFxKyvDh3YLxTwB65JFZp641oBEsGzhdujRIXgx/pkXsdOtkY7L/9o0/aUO1cea9OJz0xvn1qnMlTytCMcsaicwUtEbntwDoGD2C6z8bEta9DygYmnX5Xa5txAKuiRREE=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 340EC4BA2E0E
Message-ID: <9e2c81eb-03ea-46ca-83e3-8adf5aa31934@SystematicSW.ab.ca>
Date: Wed, 4 Feb 2026 14:37:16 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Why does Cygwin always use absolute paths instead of
OBJECT_ATTRIBUTES.RootDirectory?
To: cygwin AT cygwin DOT com
References: <CAAvCNcC0z2pOi92UezFxR-_o53P7dq2fNt+9js6WQAbqwWZTAQ AT mail DOT gmail DOT com>
Organization: Systematic Software
In-Reply-To: <CAAvCNcC0z2pOi92UezFxR-_o53P7dq2fNt+9js6WQAbqwWZTAQ@mail.gmail.com>
X-Stat-Signature: sccdfzjzhcgksdzms3wctfoqj3xjs5tz
X-Rspamd-Server: rspamout01
X-Rspamd-Queue-Id: 61C7020025
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX1+Q8MAd8iAitaDvj3WkQLETi1F87GGaLwE=
X-HE-Tag: 1770241037-526296
X-HE-Meta: U2FsdGVkX18sK6pGMcLM/HXhndVtPNcz1fcGYuJ7mZ8Nqx9Lkkk5OeA0pfUT9n+Jy08WSVZUG6r2ZlHFFumCUOOf4eNrpwBv9ZZnHKe4VdvxRTxOLc0I5ttZRPnRonosdOG1cNy8TLL+Ty61XqGLWIUiskNaTCaydQgyg3yoGOnW5ZqkZHO8sJGzkwMRwVHGrGbKjRbR5iwKOFr1wlDz+Ah1e5N/BRt/xNWkaIyY9/7EWR+xt+4PqcQhJDYn8nNedCerdWm4YI9YrVkvv2MIcm7HUflGKCd4+U7cJwBhz435fStUWXGDvwI0YdzmKpr4WxP1w0bQQZbqSJkExBMUGVh5Db7M5mTrxBtux8relKTpta7rjuHnmPInVlEybLkshypquwqgzlW0eDgb43Fm9w==
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT SystematicSW DOT ab DOT ca>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 614LbfgL687050

On 2026-02-04 14:17, Dan Shelton via Cygwin wrote:
> Why does Cygwin always use absolute paths instead of
> OBJECT_ATTRIBUTES.RootDirectory in NtOpenFile(),
> NtSetInformationFile() for rename and hardlinks
> 
> This slows down Cygwin path lookups a lot, and with lots of path
> elements each lookup with a relative RootDirectory might be a lot
> faster, e.g. for openat(), linkat(), renameat().

Because volunteers' spare time is limited, and performance is good enough for 
those who might do the work:

	https://cygwin.com/acronyms/#PTC

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

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

- Raw text -


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