On a system with GNU/Linux / Windows dualboot, I want to save disk space by sharing a partition with data. It is supposedly not a problem to use a cross-platform NTFS partition by assigning it a letter in Windows (e.g. D:\
) and mounting it somewhere on GNU/Linux (e.g. /data
). I wonder, however, if NTFS symbolic relative links would function correctly in such a setup.
To illustrate the potential problem, consider a directory MyDir
in parent directory MyParent
which is in the root directory of the partition. On Windows, I create a symbolic link named MyLink
in the root directory of the partition that links to MyDir
:
Partition structure:
<root>
- MyLink => "MyParent\MyDir"
- MyParent
- MyDir
Since MyDir
is represented as D:\MyParent\MyDir\
on Windows, the symbolic link works fine. However, on GNU/Linux, the path would be different, e.g. /data/MyParent/MyDir/
(note the different path separator /
). Would the symlink function correctly?
As for the context, I'd like to symlink C:\Users\<username>\
to the shared partition on Windows and set the GNU/Linux's user home directory to the same place so only system-dependent files are kept apart; I would also like to make symlinks inside the partition for convenience (e.g. /data/<username>/.minecraft/
to /data/<username>/AppData/Roaming/.minecraft/
to reuse Minecraft installation).
Thank you.