From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by sourceware.org (Postfix) with ESMTPS id 048E1386103E; Thu, 18 Feb 2021 11:46:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 048E1386103E Received: by mail-ot1-x32f.google.com with SMTP id v16so1544764ote.12; Thu, 18 Feb 2021 03:46:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oCRE788rKajjEvSGLvuQAUvC4GDaqQs+QGLyGTRBjaI=; b=LlITDLaFwVKBqWzROVcMbOaDl6vDb0aVb1MA/MfHS5/1ew+PAIWvf3J5gWigkrUQZ3 cluDv4FTPWn27UicrDrNRN4hirHUv7O6WGNYj9smCDp8F+bhrLI5TD0M82TgxaS7X4IJ p9y/gwPiV+6+KIJIf2wwFMZE2Uxaw2VJtTYitnt3y9teCFAuDxYQXKk6G17D8W5Z7QGF yZeeBEQydvDGxvO86Pw3gYUtVqBkYtsDkMwmIsLpO8kGkHMQqwe9je/CRpCO/3fdR+yT JaRkFiCX908qp/Iqzwz+BCijjLKLYg7A3v8j1SX5jreMxVk+BG+Q1tZT/ZS+U0cmlfRC iJCA== X-Gm-Message-State: AOAM533oe9TNs3WyfkGISMAteIjmlircxIdBULetRGqvpaHNardDavGr KSFi8NZ1ZFfNfd7lcSafK45FewOs5NUrrT2YzHaE2mpQ X-Google-Smtp-Source: ABdhPJydvbBYKs/+MlScxnwVp1jzBVv+/+BDjVLQF5zNj/aSNBA8fBYkEjJKchjE/LItwMueiYpQoLlsLfQrAyMoFes= X-Received: by 2002:a9d:12f3:: with SMTP id g106mr2426899otg.29.1613648777355; Thu, 18 Feb 2021 03:46:17 -0800 (PST) MIME-Version: 1.0 References: <20210215122538.GN4251@calimero.vinschen.de> <20210215132053.GO4251@calimero.vinschen.de> In-Reply-To: <20210215132053.GO4251@calimero.vinschen.de> From: David Macek Date: Thu, 18 Feb 2021 12:46:06 +0100 Message-ID: Subject: Re: Root directory being a junction fools realpath() To: cygwin-developers@cygwin.com Cc: Corinna Vinschen Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-developers@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component developers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2021 11:46:19 -0000 Thank you for diagnosing. > > This isn't realpath's fault. You're circumventing the mount point > > handling It was not my intention. :) It's just due to my sharing scripts and configurations between various machines (with varying disk layouts and sizes), I sometimes need to use links to work around things. [...] > I just wonder if such a bordercase is worth the extra performance hit > for each Cygwin invocation. Of course I'd like to see it resolved, but I don't remember any non-cosmetic issue caused by it, *so far*. Is there an estimate of how big of a slow-down the fix causes? -- David Macek