一個基于FUSE的bittorrent文件系統:btfs
BTFS (bittorrent filesystem)
What is this?
btfs - 一個基于FUSE的bittorrent文件系統. C++。利用BTFS你可以安裝任何 .torrent 文件或磁鐵鏈接,然后使用它作為它作來任何只讀目錄你的文件樹中。文件的內容會在應用讀取它的時候在后臺下載。還提供了像 ls, cat 和 cp 這樣的工具。不需要任何改動就能夠與 vlc 和 mplayer 這樣的應用一起使用。
Example usage
$ mkdir mnt $ btfs video.torrent mnt $ cd mnt $ vlc video.mp4
To unmount and shutdown:
$ fusermount -u mnt
Installing on a recent Ubuntu (Wily, Vivid or Trusty)
$ sudo add-apt-repository ppa:johang/btfs $ sudo apt-get update $ sudo apt-get install btfs
Dependencies
- fuse ("fuse" in Debian/Ubuntu)
- libtorrent ("libtorrent-rasterbar7" in Debian/Ubuntu)
- libcurl ("libcurl3" in Debian/Ubuntu)
Building from git on a recent Ubuntu
$ apt-get install autoconf automake libfuse-dev libtorrent-rasterbar-dev libcurl4-openssl-dev $ git clone https://github.com/johang/btfs.git btfs $ cd btfs $ autoreconf -i $ ./configure $ make
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!