Any Linux NTFS drivers which can create symlinks that work in Windows?

General Tech Bugs & Fixes . 2 years ago

  0   1   0   0   0 tuteeHUB earn credit +10 pts

5 Star Rating 5 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Write Your Comments or Explanations to Help Others



Tuteehub forum answer Answers (1)


profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I'm dual-booting Windows 10 and Ubuntu 18.04 and am using NTFS-3G to mount my NTFS drives in Ubuntu. My fstab mount options are defaults,relatime,inherit,hide_dot_files,big_writes,dmask=002,fmask=002,uid=1000,gid=1000.

Is there a mount option or recommended driver to create Windows compatible symlinks on an NTFS filesystem via Linux? On the Windows side of things, my user has the Create symbolic linkspermission, links created via WSL work fine in both Windows and Linux. These are "real" symbolic links and not just a copy of the file. However, links created via Linux do not work in Windows (with the exception of Git/Bash for Windows which seems to have special handling).

I've spent a few hours trying to find a solution but both kernel and fuse FS drivers are beyond me. It appears that NTFS-3G does not set the system.ntfs_reparse_data attribute for links that it creates. I'm not sure if anything else is required to indicate to Windows that the file is a symlink, possibly setting the system attribute if it's not already.

Currently I'm running a script periodically in Windows which recurses an entire directory to look for anything that looks like a Linux symlink and then recreates it in Windows so that it works in both OS'. This takes ~10 minutes on an SSD with about 100,000 files in the directory.

0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.

tuteehub community

Join Our Community Today

Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.

tuteehub community