Skip to content

cryptix/mountMgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mountMgo

Allows reading a mongodb as a fusefs.

working

  • ls mountpoint/ lists all collections in that database
  • ls mountpoint/collection lists all documents with their _id as filename
  • cat mountpoint/collection/document returns the document content with json.MarshalIndent

todo/ideas

  • collections are only read on startup
  • check some corner cases
  • documents in xxx.index collections don't have _id fields, so they aren't listed yet
  • maybe experiment with mgo's GridFS(http://godoc.org/labix.org/v2/mgo#GridFS)

credits

About

Test of binding a mongodb to a fusefs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages