{"id":106968,"date":"2024-10-11T15:12:12","date_gmt":"2024-10-11T07:12:12","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=106968"},"modified":"2024-10-11T15:12:12","modified_gmt":"2024-10-11T07:12:12","slug":"btfs-bittorrent-filesystem","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/btfs-bittorrent-filesystem.html","title":{"rendered":"\u4f7f\u7528 BTFS \u5728\u7ebf\u89c2\u770b\u79cd\u5b50\u89c6\u9891"},"content":{"rendered":"

Bittorrent \u5df2\u7ecf\u5b58\u5728\u4e86\u5f88\u957f\u65f6\u95f4\uff0c\u5b83\u53ef\u4ee5\u4ece\u4e92\u8054\u7f51\u4e0a\u5171\u4eab\u548c\u4e0b\u8f7d\u6570\u636e\u3002\u5e02\u573a\u4e0a\u6709\u5927\u91cf\u7684 GUI \u548c CLI \u7684 Bittorrent \u5ba2\u6237\u7aef\u3002\u6709\u65f6\uff0c\u4f60\u4e0d\u80fd\u5750\u4e0b\u6765\u7b49\u5f85\u4f60\u7684\u4e0b\u8f7d\u5b8c\u6210\u3002\u4f60\u53ef\u80fd\u60f3\u8981\u7acb\u5373\u89c2\u770b\u5185\u5bb9\u3002\u8fd9\u5c31\u662f BTFS<\/strong> \u8fd9\u4e2a\u4e0d\u8d77\u773c\u7684\u6587\u4ef6\u7cfb\u7edf\u6d3e\u4e0a\u7528\u573a\u7684\u5730\u65b9\u3002\u4f7f\u7528 BTFS\uff0c\u4f60\u53ef\u4ee5\u5c06\u79cd\u5b50\u6587\u4ef6\u6216\u78c1\u529b\u94fe\u63a5\u6302\u8f7d\u4e3a\u76ee\u5f55\uff0c\u7136\u540e\u5728\u6587\u4ef6\u6811\u4e2d\u4f5c\u4e3a\u53ea\u8bfb\u76ee\u5f55\u3002\u8fd9\u4e9b\u6587\u4ef6\u7684\u5185\u5bb9\u5c06\u5728\u7a0b\u5e8f\u8bfb\u53d6\u65f6\u6309\u9700\u4e0b\u8f7d\u3002\u7531\u4e8e BTFS \u5728 FUSE \u4e4b\u4e0a\u8fd0\u884c\uff0c\u56e0\u6b64\u4e0d\u9700\u8981\u5e72\u9884 Linux \u5185\u6838\u3002<\/p>\n

\u5b89\u88c5 BTFS<\/strong><\/div>\n

BTFS \u5b58\u5728\u4e8e\u5927\u591a\u6570 Linux \u53d1\u884c\u7248\u7684\u9ed8\u8ba4\u4ed3\u5e93\u4e2d\u3002<\/p>\n

\u5728 Arch Linux \u53ca\u5176\u53d8\u4f53\u4e0a\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5 BTFS\u3002<\/p>\n

$ sudo pacman -S btfs\r\n<\/pre>\n

\u5728Debian\u3001Ubuntu\u3001Linux Mint \u4e0a\uff1a<\/p>\n

$ sudo apt-get install btfs\r\n<\/pre>\n

\u5728 Gentoo \u4e0a\uff1a<\/p>\n

# emerge -av btfs\r\n<\/pre>\n

BTFS \u4e5f\u53ef\u4ee5\u4f7f\u7528 Linuxbrew<\/a>[1]<\/span> \u5305\u7ba1\u7406\u5668\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n

$ brew install btfs\r\n<\/pre>\n
\u7528\u6cd5<\/strong><\/div>\n

BTFS \u7684\u4f7f\u7528\u975e\u5e38\u7b80\u5355\u3002\u4f60\u6240\u8981\u505a\u7684\u5c31\u662f\u627e\u5230 .torrent \u6587\u4ef6\u6216\u78c1\u529b\u94fe\u63a5\uff0c\u5e76\u5c06\u5176\u6302\u8f7d\u5230\u4e00\u4e2a\u76ee\u5f55\u4e2d\u3002\u79cd\u5b50\u6587\u4ef6\u6216\u78c1\u529b\u94fe\u63a5\u7684\u5185\u5bb9\u5c06\u88ab\u6302\u8f7d\u5230\u4f60\u9009\u62e9\u7684\u76ee\u5f55\u5185\u3002\u5f53\u4e00\u4e2a\u7a0b\u5e8f\u8bd5\u56fe\u8bbf\u95ee\u8be5\u6587\u4ef6\u8fdb\u884c\u8bfb\u53d6\u65f6\uff0c\u5b9e\u9645\u7684\u6570\u636e\u5c06\u6309\u9700\u4e0b\u8f7d\u3002\u6b64\u5916\uff0c\u50cf ls<\/span> \u3001cat<\/span> \u548c cp<\/span> \u8fd9\u6837\u7684\u5de5\u5177\u80fd\u6309\u7167\u9884\u671f\u7684\u65b9\u5f0f\u6765\u64cd\u4f5c\u79cd\u5b50\u3002\u50cf vlc<\/span> \u548c mplayer<\/span> \u8fd9\u6837\u7684\u7a0b\u5e8f\u4e5f\u53ef\u4ee5\u4e0d\u52a0\u4fee\u6539\u5730\u5de5\u4f5c\u3002\u73a9\u5bb6\u751a\u81f3\u4e0d\u77e5\u9053\u5b9e\u9645\u5185\u5bb9\u5e76\u975e\u7269\u7406\u5b58\u5728\u4e8e\u672c\u5730\u78c1\u76d8\u4e2d\uff0c\u800c\u662f\u6839\u636e\u9700\u8981\u4ece peer \u4e2d\u6536\u96c6\u3002<\/p>\n

\u521b\u5efa\u4e00\u4e2a\u76ee\u5f55\u6765\u6302\u8f7d torrent\/magnet \u94fe\u63a5\uff1a<\/p>\n

$ mkdir mnt\r\n<\/pre>\n

\u6302\u8f7d torrent\/magnet \u94fe\u63a5\uff1a<\/p>\n

$ btfs video.torrent mnt\r\n<\/pre>\n

\"\"<\/p>\n

cd \u5230\u76ee\u5f55\uff1a<\/p>\n

$ cd mnt\r\n<\/pre>\n

\u7136\u540e\uff0c\u5f00\u59cb\u89c2\u770b\uff01<\/p>\n

$ vlc <path-to-video.mp4>\r\n<\/pre>\n

\u7ed9 BTFS \u4e00\u4e9b\u65f6\u95f4\u6765\u627e\u5230\u5e76\u83b7\u53d6\u7f51\u7ad9 tracker\u3002\u4e00\u65e6\u52a0\u8f7d\u4e86\u771f\u5b9e\u6570\u636e\uff0cBTFS \u5c06\u4e0d\u518d\u9700\u8981 tracker\u3002<\/p>\n

\"\"<\/p>\n

\u8981\u5378\u8f7d BTFS \u6587\u4ef6\u7cfb\u7edf\uff0c\u53ea\u9700\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n

$ fusermount -u mnt\r\n<\/pre>\n

\u73b0\u5728\uff0c\u6302\u8f7d\u76ee\u5f55\u4e2d\u7684\u5185\u5bb9\u5c06\u6d88\u5931\u3002\u8981\u518d\u6b21\u8bbf\u95ee\u5185\u5bb9\uff0c\u4f60\u9700\u8981\u6309\u7167\u4e0a\u9762\u7684\u63cf\u8ff0\u6302\u8f7d torrent\u3002<\/p>\n

BTFS \u4f1a\u5c06\u4f60\u7684 VLC \u6216 Mplayer \u53d8\u6210\u7206\u7c73\u82b1\u65f6\u95f4\u3002\u6302\u8f7d\u4f60\u6700\u559c\u7231\u7684\u7535\u89c6\u8282\u76ee\u6216\u7535\u5f71\u7684\u79cd\u5b50\u6587\u4ef6\u6216\u78c1\u529b\u94fe\u63a5\uff0c\u7136\u540e\u5f00\u59cb\u89c2\u770b\uff0c\u65e0\u9700\u4e0b\u8f7d\u6574\u4e2a\u79cd\u5b50\u5185\u5bb9\u6216\u7b49\u5f85\u4e0b\u8f7d\u5b8c\u6210\u3002\u79cd\u5b50\u6216\u78c1\u529b\u94fe\u63a5\u7684\u5185\u5bb9\u5c06\u5728\u7a0b\u5e8f\u8bbf\u95ee\u65f6\u6309\u9700\u4e0b\u8f7d\u3002<\/p>\n


\n

via: https:\/\/www.ostechnix.com\/btfs-a-bittorrent-filesystem-based-on-fuse\/<\/a><\/p>\n

\u4f5c\u8005\uff1aSK<\/a>[2]<\/span> \u9009\u9898\uff1alujun9972<\/a>[3]<\/span> \u8bd1\u8005\uff1ageekpi<\/a>[4]<\/span> \u6821\u5bf9\uff1awxy<\/a>[5]<\/span><\/p>\n

\u672c\u6587\u7531 LCTT<\/a>[6]<\/span> \u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a>[7]<\/span> \u8363\u8a89\u63a8\u51fa<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-9727-1.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttps:\/\/lrxjmw.cn\/btfs-bittorrent-filesystem.html<\/a>\u7f16\u8f91\uff1a\u9004\u589e\u5b9d\uff0c\u5ba1\u6838\u5458\uff1a\u5218\u9044<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

Bittorrent \u5df2\u7ecf\u5b58\u5728\u4e86\u5f88\u957f\u65f6\u95f4\uff0c\u5b83\u53ef\u4ee5\u4ece\u4e92\u8054\u7f51\u4e0a\u5171\u4eab\u548c\u4e0b\u8f7d\u6570\u636e\u3002\u5e02\u573a\u4e0a\u6709\u5927\u91cf\u7684 GUI \u548c CLI […]<\/p>\n","protected":false},"author":309,"featured_media":106969,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-106968","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/106968","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/309"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=106968"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/106968\/revisions"}],"predecessor-version":[{"id":106974,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/106968\/revisions\/106974"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/106969"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=106968"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=106968"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=106968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}