Skip to content

An in-kernel module that mounts the web as a directory.

Notifications You must be signed in to change notification settings

liudangyi/httpfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTPFS

Mount the web as a directory. Use open system call to open an URL!

Usage

  1. apt-get install keyutils if you have no /sbin/request-key.
  2. make
  3. sudo insmod httpfs.ko
  4. sudo mount -t httpfs none http:
  5. Try cat http://baidu.com / cat http://wtfismyip.com/text / cat http://baidu.com/abc/def
  6. If you are tired, sudo umount http: && sudo rmmod httpfs

Problems

  1. Only HTTP 1.0 is supported right now.
  2. cp is not supported since a little hack on VFS (to make it possible to open a directory).
  3. Files are downloaded upon open. However, Range is a better choice.
  4. Because of 2, it's hard to support larger files.
  5. There's little promise of further work, since the whole thing should be implemented in user space (using FUSE with libcurl).

About

An in-kernel module that mounts the web as a directory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published