Do Symbolic Links Work Between Removable Drives on Different Machines?
Asked by
halfback
If I create a symbolic link on one flash drive that points to a file on another flash drive, will that symbolic link still function correctly when both drives are connected to a different computer? Is the functionality due to the symbolic link referencing the UUID of the other drive?
Answers
Have you given it a shot yet? I'd guess it would work if both drives are mounted at the same points after connecting them to another computer. But beyond that, the file system doesnโt really involve the UUID in this case.
Reply to this answer
It can actually work without needing the UUID. It mainly depends on whether both drives are mounted at the same path on the second machine. If everything is set up right, you're likely good to go!
Reply to this answer
Don't forget, symlinks just care about the file path. If you create a symlink to something that doesnโt exist yet, it'll still point to it until you break it by deleting the target file. As long as the OS on the new machine recognizes the symlink and mounts the drives properly, you should be okay!
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions