From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13653 invoked by alias); 17 Dec 2018 09:41:29 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 13639 invoked by uid 89); 17 Dec 2018 09:41:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=volume, Serial, Volume X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Dec 2018 09:41:26 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MCKWI-1gh2bw38s6-009SLm; Mon, 17 Dec 2018 10:41:22 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 51948A803F2; Mon, 17 Dec 2018 10:41:22 +0100 (CET) Date: Mon, 17 Dec 2018 09:41:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Cc: Simon Liesenfeld Subject: Re: symbolic links on Paragon Linux File systems Message-ID: <20181217094122.GR28727@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com, Simon Liesenfeld References: <1823593702.5343751.1545034298027.ref@mail.yahoo.com> <1823593702.5343751.1545034298027@mail.yahoo.com> <20181217093428.GQ28727@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PMULwz+zIGJzpDN9" Content-Disposition: inline In-Reply-To: <20181217093428.GQ28727@calimero.vinschen.de> User-Agent: Mutt/1.9.2 (2017-12-15) X-SW-Source: 2018-12/txt/msg00136.txt.bz2 --PMULwz+zIGJzpDN9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2615 On Dec 17 10:34, Corinna Vinschen wrote: > On Dec 17 08:11, Simon Liesenfeld via cygwin wrote: > > Hi all > >=20 > > There is a commercial ext3-4 file system driver for windowsLinux File > > Systems f=C3=BCr 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 > >=20 > > $ echo hallo > source > >=20 > > $ ln -s source sl > >=20 > > $ cat sl > > !=E2=96=92=E2=96=92source >=20 > 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. >=20 > 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? >=20 > 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. >=20 >=20 > HTH, > Corinna Btw., we might be able to do more. Can you do me a favor and call /lib/csih/getVolInfo =20=20 and paste the result in your reply to the maling list? Just for comparison, it should look roughly like this (example native NTFS): Device Type : 7 Characteristics : 20020 Volume Name : <> Serial Number : 3327928886 Max Filenamelength : 255 Filesystemname : Flags : 3e706ff FILE_CASE_SENSITIVE_SEARCH : TRUE FILE_CASE_PRESERVED_NAMES : TRUE FILE_UNICODE_ON_DISK : TRUE FILE_PERSISTENT_ACLS : TRUE FILE_FILE_COMPRESSION : TRUE FILE_VOLUME_QUOTAS : TRUE FILE_SUPPORTS_SPARSE_FILES : TRUE FILE_SUPPORTS_REPARSE_POINTS: TRUE FILE_SUPPORTS_REMOTE_STORAGE: FALSE FILE_VOLUME_IS_COMPRESSED : FALSE FILE_SUPPORTS_OBJECT_IDS : TRUE FILE_SUPPORTS_ENCRYPTION : TRUE FILE_NAMED_STREAMS : TRUE FILE_READ_ONLY_VOLUME : FALSE FILE_SEQUENTIAL_WRITE_ONCE : FALSE FILE_SUPPORTS_TRANSACTIONS : TRUE Maybe we can tweak Cygwin to handle the Paragon ext4 driver out of the box. Thanks, Corinna --=20 Corinna Vinschen Cygwin Maintainer --PMULwz+zIGJzpDN9 Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlwXb0IACgkQ9TYGna5E T6CmuQ//eDjhuF6ZeRITldNvqFKiFFn5Xa9+txca4N1c6UwZI6xceq8c8fUgsadj jWJtl3p+2oZETJS5bJ/WNwCDq3RvZN4hIUagFWAN2xk3KqkIZ+0wc9VdZNcbs5mB ba2CrlQ4kSUSwai8ZM8rKSg+SyxFA7Yf/JrJR2TjZ9+VFcBC2hjwser3jRUImhs8 VKmi22cLheQjtviVBqCYXbbKP2le8workcBLhRRIxrAgkMLbxXcCjOpG/hvvvyXe Jal9jCi5QnJzGSgyhQqVHpQ73rXocu7/+R8WFslxWEBiejvD0nd8o9woH4W57dRe CftiajxxVBeCYvMvQo60If6IkjlB9Re989lPOXLBQFZTYpOVD8xGundPr4Tl6sho sitlW95hNQyVUblUSphzsuv/nsVY3+pg8Fl0r37wIVzQfHt4opSV+PshwhCGsDoA R7f9QevEFguJbtIryQZDzfVAoiNHx9oTOtNi8CBcHziKmRb/tBCfPvwKc3TXSqfb At5zRD3WbNjwlixbP3qyQKES3s3OQKuhQO6MtJCK0+irrU5KdhFtcvFQYj11qdKP Lv32YekH/eG/qIB1i6tx/hEKLu28AAli0yMltIYIpn4aW7Ede7kTWpEul+XtjdrC zRxj3Es32k3sZ13aqeRPXHPbNu9+mIXJxztl2EfKXMZvnAx7omc= =yj1s -----END PGP SIGNATURE----- --PMULwz+zIGJzpDN9--