delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/12/17/04:41:39

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:to:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=wATRZIoHBOdpimEjadBj9abO2tEDBrjg/Vko0KAhGt9ZkyICbAuDq
DZ7xrSqyMfVFgdKAsDPVRvJA4kQXJeOmepddo137n8o9rjuWxQVJJ7RGT0BViPAN
BgRIjIVhAZuixn07X6EunAvcxpMHfTdHwy4LwkUjaGOu3KF3hg1Rn4=
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:to:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=290BCpsGMG/Q5FwXiWuYbNLBgEA=; b=wS43yBBtajABid8XrX7le7wJncXQ
09aATpYsDX9G7FYiVK2RLnXmq+aEashrEswb5wdai5ICXNoh4ukRMcMQ3pyR1Ey8
i7Fxsu8wHDRWO/UpP1BqUFe9u6o7mv5uXR1cNpy6ARNFsa8poAwc6howCW4qsX2v
oBpTTToWWiBsu54=
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=-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
Date: Mon, 17 Dec 2018 10:41:22 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: Simon Liesenfeld <surgeonde AT yahoo DOT de>
Subject: Re: symbolic links on Paragon Linux File systems
Message-ID: <20181217094122.GR28727@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, Simon Liesenfeld <surgeonde AT yahoo DOT 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>
MIME-Version: 1.0
In-Reply-To: <20181217093428.GQ28727@calimero.vinschen.de>
User-Agent: Mutt/1.9.2 (2017-12-15)

--PMULwz+zIGJzpDN9
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
> > !<symlink>=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 <path to any file on the ext4 FS>
=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     : <NTFS>
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"

-----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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019