From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from seine.is.ed.ac.uk (seine.is.ed.ac.uk [129.215.17.202]) by sourceware.org (Postfix) with ESMTPS id 2AABE385E009 for ; Sat, 28 Mar 2020 10:31:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2AABE385E009 Received: from crunchie.inf.ed.ac.uk (crunchie.inf.ed.ac.uk [129.215.202.41]) by seine.is.ed.ac.uk (8.14.7/8.14.7) with ESMTP id 02SAVnaq002540 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 28 Mar 2020 10:31:49 GMT Received: from ecclerig.inf.ed.ac.uk (ecclerig.inf.ed.ac.uk [129.215.24.151]) by crunchie.inf.ed.ac.uk (8.14.7/8.14.7) with ESMTP id 02SAVm8Q004938 for ; Sat, 28 Mar 2020 10:31:48 GMT Received: from ecclerig.inf.ed.ac.uk (localhost [127.0.0.1]) by ecclerig.inf.ed.ac.uk (8.14.7/8.14.7) with ESMTP id 02SAVnVl007186 for ; Sat, 28 Mar 2020 10:31:49 GMT Received: (from ht@localhost) by ecclerig.inf.ed.ac.uk (8.14.7/8.14.7/Submit) id 02SAVmV4007185; Sat, 28 Mar 2020 10:31:48 GMT X-Authentication-Warning: ecclerig.inf.ed.ac.uk: ht set sender to ht@inf.ed.ac.uk using -f To: cygwin@cygwin.com Subject: Re: WSL symbolic links References: <294944bd-757e-4bb8-6bcc-ceb8d9190ef9@towo.net> <20200326110059.GG3261@calimero.vinschen.de> <901e1c08-46cb-555b-c0d0-5bf9c726b3ca@SystematicSw.ab.ca> <20200326200548.GK3261@calimero.vinschen.de> <20200327185340.GN3261@calimero.vinschen.de> From: "Henry S. Thompson" Date: Sat, 28 Mar 2020 10:31:48 +0000 In-Reply-To: (Brian Inglis's message of "Fri\, 27 Mar 2020 21\:32\:42 -0600") Message-ID: User-Agent: Gnus/5.1012 (Gnus v5.10.12) XEmacs/21.5-b34 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Edinburgh-Scanned: at seine.is.ed.ac.uk with MIMEDefang 2.84, Sophie, Sophos Anti-Virus, Clam AntiVirus X-Scanned-By: MIMEDefang 2.84 on 129.215.17.202 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_50, KAM_DMARC_STATUS, 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2020 10:31:53 -0000 Brian Inglis writes: > ... wished for a while: a program that would classify a file name as > a (regular) hard link, a Windows directory or file link, a junction, a > Windows shortcut, a Cygwin symlink, a Unix/WSL symlink, a URL link, > and/or tell me where it links to etc. Thinking of hacking that plus > maybe bits of file, cygpath, readshortcut, readlink, lsattr together > to display otherwise awkward to access attributes and properties. Oh, yes please! You could call it 'swan', for Swiss Army Knife :-). ht -- Henry S. Thompson, School of Informatics, University of Edinburgh 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail from me _always_ has a .sig like this -- mail without it is forged spam] The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.