Categories

See More
Popular Forum

MBA (4887) B.Tech (1769) Engineering (1486) Class 12 (1030) Study Abroad (1004) Computer Science and Engineering (988) Business Management Studies (865) BBA (846) Diploma (746) CAT (651) B.Com (648) B.Sc (643) JEE Mains (618) Mechanical Engineering (574) Exam (525) India (462) Career (452) All Time Q&A (439) Mass Communication (427) BCA (417) Science (384) Computers & IT (Non-Engg) (383) Medicine & Health Sciences (381) Hotel Management (373) Civil Engineering (353) MCA (349) Tuteehub Top Questions (348) Distance (340) Colleges in India (334)
See More

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

General Tech Bugs & Fixes

Max. 2000 characters
Replies

usr_profile.png

User

( 6 months 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.

what's your interest


forum_ban8_5d8c5fd7cf6f7.gif