delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:reply-to:to:message-id:in-reply-to | |
:references:subject:mime-version:content-type | |
:content-transfer-encoding; q=dns; s=default; b=o6tyo/FEUefgxcqB | |
uodaniVPqlDBC6po18xJpfhXY2h/8M/sW6+MrPr5FeJ0lU19GWc+cObVveFLq3D2 | |
rzKoA0ZQbE37hh3OzQPvFW9ji+9+eX+ihYcKMTsavR5QVho4N3AbZbbJTCZANVix | |
DAaGzchsaTG2nEVdWb5YSE3n6xk= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:reply-to:to:message-id:in-reply-to | |
:references:subject:mime-version:content-type | |
:content-transfer-encoding; s=default; bh=ZAQLu98KO5VyTZIXKStoQD | |
laHao=; b=oBp5F0aDDlJ/UDGRXA6VFTWl+i5ZyLY0Bxy/dyZOgBewh6DtS8To5L | |
UF/taAqS3QR6j44LzSVUY8t7XKwvQMxYJfaKaLHxvu7VQ1UxyEJo44oPrVvEKZ5A | |
6yvg3cl8EfsPc9wYTf/g0q/gM1Ecy0MgYCYwf8iE2sEgsRH6PG3QI= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Spam-SWARE-Status: | No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=answered, H*c:PHrt, H*c:alternative, H*x:5.0 |
X-HELO: | sonic308-3.consmr.mail.bf2.yahoo.com |
Date: | Mon, 17 Dec 2018 18:50:52 +0000 (UTC) |
From: | "Simon Liesenfeld via cygwin" <cygwin AT cygwin DOT com> |
Reply-To: | Simon Liesenfeld <surgeonde AT yahoo DOT de> |
To: | cygwin AT cygwin DOT com |
Message-ID: | <768216656.5669803.1545072652503@mail.yahoo.com> |
In-Reply-To: | <20181217165741.GB28727@calimero.vinschen.de> |
References: | <1823593702 DOT 5343751 DOT 1545034298027 DOT ref AT mail DOT yahoo DOT com> <1823593702 DOT 5343751 DOT 1545034298027 AT mail DOT yahoo DOT com> <20181217093428 DOT GQ28727 AT calimero DOT vinschen DOT de> <20181217165741 DOT GB28727 AT calimero DOT vinschen DOT de> |
Subject: | Re: symbolic links on Paragon Linux File systems |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id wBHIp7au008590 |
Hi Corinna, since you answered your own questionsI can better understand my own stupidity.I have created now a hard and a soft link with a native linux,then I booted Windows, started the paragon driver,then cygwin programs as well as any dos program perfectly understood the links. Even if cygwin were able to understand its own links on paragon volumes,they would not be understood when running the volume by linux again.That does not make sense. May be there is a command line option from paragonto create links. Thank you so much Corinna. On Monday, December 17, 2018, 5:57:43 PM GMT+1, Corinna Vinschen <corinna-cygwin AT cygwin DOT com> wrote: On Dec 17 10:34, Corinna Vinschen wrote: > On Dec 17 08:11, Simon Liesenfeld via cygwin wrote: > > Hi all > > > > There is a commercial ext3-4 file system driver for windowsLinux File > > Systems für Windows | Paragon Softwarewhich enable Windows to read an > > write on native ext3-4 volumes.In General cygwin works perfectly on > > such volumes,even named pipes work, > > but Cygwin programs do not interprete those links correctly,which are > > created on such volumes.whilst symbolic links on native NTFS drives > > referring files on such volumeswork perfectly. > > $pwd/cygdrive/e > > > > $ echo hallo > source > > > > $ ln -s source sl > > > > $ cat sl > > !<symlink>▒▒source > > Yes, we can't do that without special knowledge of the FS. The default > symlinks on Cygwin are only evaluated correctly if the DOS SYSTEM > attribute is set. The ext4 driver can't do that, obviously. > > Are the native symlinks on an ext4 FS converted to NTFS symlinks > on the fly by the driver? Are they visible as symlinks in Windows > or Cygwin? > > If so, you could try setting the environment variable CYGWIN to contain > "winsymlinks:native". This creates native Windows symlinks rather than > the special Cygwin POSIX symlinks. If the driver is handling this > correctly, it should transparently convert them to ext4 symlinks and > they should just work. Answering my own questions: No, the driver does not handle symlinks gracefully *at all*. - Existing symlinks on the FS are handled as if they are simple files.  They are in no way identifiable as symlinks by any Windows client.  They supposedly only contain the name of the symlink target, which is  an arbitrary string. No symlink marker or anything. - DOS file attributes don't work, so we can't use Cygwin's symlink  handling, not even by utilizing Windows shortcuts instead of Cygwin  symlinks. - Windows native symlinks and transparent conversion to and from ext4  symlinks is not supported. - No ACL handling, not even to fake basic POSIX permissions, so we can't  change the permissions at all. I don't think it's worth to go to great length supporting Cygwin symlinks on this FS. They won't be recognized by your Linux installation as symlinks anyway and we'd have to perform excessively slow checks just to recognize them. As a sidenote, the OSS project Ext2Fsd handles symlinks transparently via standard Windows functions. With "CYGWIN=winsymlinks:native" you can generate real ext4 symlinks transparently. Even the good old Cygwin symlink works on Cygwin without programmatic intervention, albeit those won't be recognized as symlinks by Linux of course. Unfortunately Ext2Fsd didn't learn to handle ext4 with the 64bit FS option set yet. 64bit is default for quite some time. Corinna -- Corinna Vinschen Cygwin Maintainer -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |