X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 360CE385B835 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1585483502; bh=/WHHcO/54XiLoJlPJXM0MX9WIOVVsOrp/rStLURnJ3M=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=PMSdqb8t1gua4aWg8YIjtRUfawEw0dMoeKtRS4svJUBeCIoma9TM4lDNhWl6NgLsj u+6MgOEmwdoQL6OxFCnv3Uxu35FrcO6nuGnNzHWq1C9jgeNWJ/5yecuVotDXcJjeCz gExBL9zWALoAAtDc2TC/rNxQWerSlqJhH3u6NSoE= Authentication-Results: mxback1q.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Sun, 29 Mar 2020 14:52:11 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <1361454366.20200329145211@yandex.ru> To: Brian Inglis , cygwin AT cygwin DOT com Subject: Re: WSL symbolic links In-Reply-To: <1acc7b9b-fe89-0884-3bc1-c4d5269cbf31@SystematicSw.ab.ca> References: <294944bd-757e-4bb8-6bcc-ceb8d9190ef9 AT towo DOT net> <20200326110059 DOT GG3261 AT calimero DOT vinschen DOT de> <901e1c08-46cb-555b-c0d0-5bf9c726b3ca AT SystematicSw DOT ab DOT ca> <20200326200548 DOT GK3261 AT calimero DOT vinschen DOT de> <20200327185340 DOT GN3261 AT calimero DOT vinschen DOT de> <1116576180 DOT 20200328145905 AT yandex DOT ru> <1acc7b9b-fe89-0884-3bc1-c4d5269cbf31 AT SystematicSw DOT ab DOT ca> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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 AT cygwin DOT 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: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Greetings, Brian Inglis! > On 2020-03-28 05:59, Andrey Repin wrote: >> Greetings, Brian Inglis! >> >>>> >>>> Thanks! This should already be fixed in the latest developer snapshot >>>> after I was finally able to install WSL myself. See my reply to Thomas >>>> in https://sourceware.org/pipermail/cygwin/2020-March/244211.html >>>> >>>> All the effects are a result of not opening the reparse point as reparse >>>> point, as weird as it sounds at first :) >> >>> Would you consider that test program a reasonable base for something I have >>> 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. >> >> I'd like to see it as part of "file -h" functionality. > Both file and grep are getting worse at distinguishing UTF-8 from binary data, > so I don't want to get into fiddling with that recognizer/interpreter, given > that it can not get or use that information as is, just enough of file to decide > on or verify a file type; I did mean that. Something like "Windows symbolic link - file" or "Windows symbolic link - unknown type" would be enough to start the investigation into the right direction. -- With best regards, Andrey Repin Sunday, March 29, 2020 14:50:51 Sorry for my terrible english... -- 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