BlackDwarf Posted January 29, 2017 Share Posted January 29, 2017 Hi. I understand that hard-linking was implemented recently, but as far as I'm aware, directory hard-linking is still disabled. Use-case: Plex doesn't recognise symlinks. Example: I've got a folder "The Simpsons" in /mnt/user/tvshows, which is attached to my "TV Shows" Library within Plex, but I also want it to appear in my "Kids TV" Library, which is located in /mnt/user/kids-tv. Could this be addressed, or is there a better way of working around this limitation of Plex only recognising hard links? Link to comment
Squid Posted January 29, 2017 Share Posted January 29, 2017 -d, -F, --directory allow the superuser to attempt to hard link directories (note: will probably fail due to system restrictions, even for the superuser) http://linuxcommand.org/man_pages/ln1.html Link to comment
BlackDwarf Posted January 29, 2017 Author Share Posted January 29, 2017 As I posted here https://lime-technology.com/forum/index.php?topic=42148.1215 Ok, so I re-organised to have /mnt/user/tvshows/TV and /mnt/user/tvshows/kids, and trying both Code: [select] ln /mnt/user/tvshows/TV/The\ Simpsons/ /mnt/user/tvshows/Kids/The\ Simpsons fails with "hard link not allowed for directory" and Code: [select] ln -d /mnt/user/tvshows/TV/The\ Simpsons/ /mnt/user/tvshows/Kids/The\ Simpsons fails with "Operation not permitted" I'm Running 6.3.0-rc9. So trying -d also fails. Link to comment
bnevets27 Posted January 29, 2017 Share Posted January 29, 2017 Unless I'm reading it wrong, you are trying to hardlink across different user shares. That's not supported. I was trying to do that also but was told by Tom that hard links are only possible within the same share. Sent from my SM-N900W8 using Tapatalk Link to comment
Squid Posted January 29, 2017 Share Posted January 29, 2017 Unless I'm reading it wrong, you are trying to hardlink across different user shares. That's not supported. I was trying to do that also but was told by Tom that hard links are only possible within the same share. Sent from my SM-N900W8 using Tapatalk No I tried it also within the same share. Directory hardlinking is not supported... And the ln manpage outright says that odds on it will not work... (And also tried it directly on a disk share which has never been subject to the hardlink support added to FUSE in 6.2+) Link to comment
BlackDwarf Posted January 29, 2017 Author Share Posted January 29, 2017 Well, across user shares would be helpful, but not necessary. The annoyance lies more with Plex not supporting reading over symlinks, so will start a thread over there also. Link to comment
bnevets27 Posted January 29, 2017 Share Posted January 29, 2017 Unless I'm reading it wrong, you are trying to hardlink across different user shares. That's not supported. I was trying to do that also but was told by Tom that hard links are only possible within the same share. Sent from my SM-N900W8 using Tapatalk No I tried it also within the same share. Directory hardlinking is not supported... And the ln manpage outright says that odds on it will not work... (And also tried it directly on a disk share which has never been subject to the hardlink support added to FUSE in 6.2+) Definitely correct. Seeing as I didn't know what I was doing, as you pointed out in the other thread, I was apparently hard linking files and not the directories. Didn't realize that, just had the end result of what seemed like a hard linked directory. Sent from my SM-N900W8 using Tapatalk Link to comment
bnevets27 Posted January 29, 2017 Share Posted January 29, 2017 Well, across user shares would be helpful, but not necessary. The annoyance lies more with Plex not supporting reading over symlinks, so will start a thread over there also. I agree across shares would be nice. Asked if it was possible but never got a response Sent from my SM-N900W8 using Tapatalk Link to comment
Helmonder Posted January 29, 2017 Share Posted January 29, 2017 Well, across user shares would be helpful, but not necessary. The annoyance lies more with Plex not supporting reading over symlinks, so will start a thread over there also. If you just want to solve that plex issue, what about mounting that folder you need double two times ? Link to comment
bnevets27 Posted January 29, 2017 Share Posted January 29, 2017 That does make a lot of sense to fix his plex issue Sent from my SM-N900W8 using Tapatalk Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.