EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Symbolic links

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#19708
Posted: 04/09/2012 10:19:37
by Robert F. (Standard support level)
Joined: 04/05/2012
Posts: 8

Hi all,

in our implementation and also in the Mapper sample, the creation of symbolic links fails with the message that the device does not support symbolic links.

Does CBFS support symbolic links?

Thanks,
Robert
#19709
Posted: 04/09/2012 10:43:10
by Eugene Mayevski (EldoS Corp.)

Windows knows nothing about symbolic links. How are you trying to create them?


Sincerely yours
Eugene Mayevski
#19712
Posted: 04/09/2012 10:51:02
by Robert F. (Standard support level)
Joined: 04/05/2012
Posts: 8

Using mklink in the Windows command line (cmd.exe executed with admin rights):

(Z: is the CBFS drive.)

Microsoft Windows [Version 6.1.7601]
Copyright © 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Windows\system32>mklink D:\Foo C:\Bar
symbolische Verknüpfung erstellt für D:\Foo <<===>> C:\Bar

C:\Windows\system32>mklink /D D:\Foo2 C:\Bar
symbolische Verknüpfung erstellt für D:\Foo2 <<===>> C:\Bar

C:\Windows\system32>mklink /J D:\Foo3 C:\Bar
Verbindung erstellt für D:\Foo3 <<===>> C:\Bar

C:\Windows\system32>mklink Z:\Foo C:\Bar
Das Gerät unterstützt keine symbolischen Verknüpfungen.

C:\Windows\system32>mklink /D Z:\Foo C:\Bar
Das Gerät unterstützt keine symbolischen Verknüpfungen.

C:\Windows\system32>mklink /J Z:\Foo C:\Bar
Es sind lokale NTFS-Volumes erforderlich, um den Vorgang abzuschließen.
#19713
Posted: 04/09/2012 11:05:27
by Eric Dahlvang (Standard support level)
Joined: 09/11/2009
Posts: 29

Eugene,

"Symbolic links are available in NTFS starting with Windows Vista."

http://msdn.microsoft.com/en-us/library/windows/desktop/aa365680(v=vs.85).aspx
#19714
Posted: 04/09/2012 11:11:31
by Eugene Mayevski (EldoS Corp.)

That's it -- "Symbolic links are designed to aid in migration and application compatibility with POSIX operating systems, and were introduced with the modifications made to the NTFS file system with Windows Vista."

They are specific to NTFS.


Sincerely yours
Eugene Mayevski
#19733
Posted: 04/10/2012 08:43:30
by Robert F. (Standard support level)
Joined: 04/05/2012
Posts: 8

I assume this is a "No, CBFS does not support symbolic links"?

FYI, symbolic links work e.g. in the virtual drive TrueCrypt creates.
#19734
Posted: 04/10/2012 09:03:02
by Volodymyr Zinin (EldoS Corp.)

I think in CallbackFS it's also possible. Just create the drive letter for a CallbackFS virtual disk via the call AddMountingPoint with the CBFS_SYMLINK_MOUNT_MANAGER flag specified and then use mklink on it.

Also with the CBFS_SYMLINK_MOUNT_MANAGER flag you can create the NTFS reparse point directly.
#19738
Posted: 04/10/2012 09:55:37
by Eugene Mayevski (EldoS Corp.)

Quote
Robert F. wrote:
FYI, symbolic links work e.g. in the virtual drive TrueCrypt creates.


TrueCrypt emulates a disk device, not a filesystem.


Sincerely yours
Eugene Mayevski
#19749
Posted: 04/11/2012 06:45:52
by Robert F. (Standard support level)
Joined: 04/05/2012
Posts: 8

Thanks for your answers. I had no success with CBFS_SYMLINK_MOUNT_MANAGER but it's not a big deal. I was just curious if it was a problem with our implementation or if symbolic links are by default not possible.
#19750
Posted: 04/11/2012 07:51:25
by Volodymyr Zinin (EldoS Corp.)

CallbackFS doesn't support soft and hard links as it NTFS does. We are going to take a look on it and perhaps in the next version it will be implemented.
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

Topic viewed 5382 times

Number of guests: 5, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!