public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: vboxsharedfs - Too many levels of symbolic links
Date: Tue, 7 Dec 2021 09:46:12 +0900	[thread overview]
Message-ID: <20211207094612.313345b38eac94bae85448b4@nifty.ne.jp> (raw)
In-Reply-To: <20211206195527.9b9c09b549fa8fcc2512949e@nifty.ne.jp>

On Mon, 6 Dec 2021 19:55:27 +0900
Takashi Yano wrote:
> First, I think the same. However, with this patch, it sometimes causes
> hang for a few seconds around the code:
[...]
> with path_copy of "//VBoxSrv". I am not sure why.
> 
> In addition,
> https://cygwin.com/pipermail/cygwin/2021-December/250103.html
> still needs fix.

Moreover, this has a problem with "ls -al /cygdrive/z".
The information for ".." is not retrieved correctly.

drwxr-xr-x 1 yano None       0 Dec  6 13:54 .
d????????? ? ?    ?          ?            ? ..
-rw-r--r-- 1 yano None      29 Dec  4 07:45 Makefile
-rw-r--r-- 1 yano None      17 Dec  6 13:18 a
drwxr-xr-x 1 yano None       0 Dec  6 08:59 aaa
lrwxrwxrwx 1 yano None       1 Dec  6 13:54 b -> a
-rwxr-xr-x 1 yano None 3278626 Dec  7 09:07 cygwin0.dll
-rwxr-xr-x 1 yano None 3549860 Dec  6 08:51 cygwin0.dll.64
-rw-r--r-- 1 yano None       0 Dec  3 22:16 testfile.txt

I think '/cygdrive/z/..' should be '/cygdrive', however,
in current cygwin, it is interpreted into '//VBoxSrv'.

Is this as you intended?

With my patch which stops to treat UNC path as symlink,
'/cygdrive/z/..' returns '/cygdrive'.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

  reply	other threads:[~2021-12-07  0:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30 17:04 Oskar Skog
2021-11-30 21:40 ` Gackle, Philip P
2021-12-02 10:43 ` Corinna Vinschen
2021-12-05  2:54 ` Takashi Yano
2021-12-05 14:49   ` Oskar Skog
2021-12-06  3:31     ` Takashi Yano
2021-12-06  6:34       ` Oskar Skog
2021-12-06  8:04       ` Takashi Yano
2021-12-06 10:16   ` Corinna Vinschen
2021-12-06 10:55     ` Takashi Yano
2021-12-07  0:46       ` Takashi Yano [this message]
2021-12-07 14:57         ` Corinna Vinschen
2021-12-07 15:32           ` Takashi Yano
2021-12-07 15:43             ` Takashi Yano
2021-12-07 16:03             ` Corinna Vinschen
     [not found] <Ya+WvmECA+zAbuV9@calimero.vinschen.de>
2021-12-08  8:20 ` Takashi Yano
2021-12-08 10:37   ` Corinna Vinschen
2021-12-09  8:16     ` Takashi Yano
2021-12-09  9:16       ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211207094612.313345b38eac94bae85448b4@nifty.ne.jp \
    --to=takashi.yano@nifty.ne.jp \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).