symbolic links on Paragon Linux File systems
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Dec 17 09:41:00 GMT 2018
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.
>
>
> 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>
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
--
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20181217/7b8f1605/attachment.sig>
More information about the Cygwin
mailing list