Tagsistant icon indicating copy to clipboard operation
Tagsistant copied to clipboard

hang trying to symlink from one tag to another

Open michael-ts opened this issue 6 years ago • 0 comments

The documentation on how to symlink is unclear to me. It says:

If however you would have used symlinks the operation would have taken the fraction of a second:

$ ln -s ~/myfiles/startrek/@/encounter_at_farpoint ~/myfiles/store/startrek/@ $ ln -s ~/myfiles/startrek/@/encounter_at_farpoint ~/myfiles/store/video/@

There are several issues. First is that in the previous example, the filename was encounter_at_farpoint.avi but now the ".avi" is being omitted. I assume this is just a typo.

The second issue is that the source file in both lines is invalid. Should it say ~/myfiles/**store**/startrek??? But in that case, the first line appears to be nonsense, it is trying to link the file to... itself? The same directory it is in??? So I ignored that and went to the second line. Rewriting it to fix the above mistakes and substitute in my own file, I got: ln -s ~/myfiles/store/mytag1/@/text.txt ~/myfiles/store/mytag2/@

This command hangs hard, running ps aux reveals that ln is in state "D+". I also can't unmount the file system, getting the error: "Device or resource busy". Furthermore, the mount point is now totally unusable - if I try to even just cd to ~/myfiles in a different shell, that hangs to. I'm going to have to completely reboot the system before I'll be able to do anything.

michael-ts avatar Nov 07 '19 03:11 michael-ts