this post was submitted on 01 Jul 2023
308 points (96.1% liked)
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
54772 readers
397 users here now
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.
Rules • Full Version
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
Loot, Pillage, & Plunder
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I have a similar setup but without the hardlinks. Can you explain the benefits/reason for using the them? I think I understand what a hardlink is, but don't quite get why you'd use it in this context.
The torrent client can get confused about the authenticity of the files if you make any changes to the files that were downloaded. It can also have trouble finding all the files required for seeding, so moving the needed files to
media
is a no.Once the torrent client finishes downloading the files, instead of copying the needed files among them to
media
's respective folder, we simply make a hardlink to it to save space and to ensure the authenticity of the files intorrents
folder such that the torrent client has no trouble seeding the files.The seeded folder which contains the needed files can also contain media that can potentially confuse Jellyfin such that it shows it; furthermore, less useless files also decreases the scanning time taken by Jellyfin. So instead of directly linking the respective folders in
torrents
we have a separate and more clean directory for Jellyfinmedia
.TL;DR: to save space and to ensure your torrent client can keep seeding the files.
source: stackoverflow sym versus hard links
Making a copy simply makes another inode, doubling your storage usage. You can use jdupes to convert duplicate files to hard links.