1.1.5 • Published 5 years ago

sqlitefs v1.1.5

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Build Status Coverage Status Version License Code style Available platform Available platform

Motivation

sqlfs is a POSIX compliant inode table to be used as fuse binding engine. Inode table is store in a very simple sqlite file.

sqlfs is the underlying inode table that support the cloudfs project.

Main features

  • Simple by design
  • Available on all platforms (linux & Windows)
  • Very fast (sqlite is actually fastest than most file system)
  • Strongly tested
  • sqlfs load the whole inode table in memory and use about 1k per file of inode data. So having 100k file will use at least 100MB of memory.

Supported API

sqlfs support most of the fuse API (appart for file body access - open, release, read, write - see cloudfs for this part)

  • gettattr
  • mkdir
  • readdir
  • rename
  • rmdir
  • statfs
  • unlink
  • utimens
  • create

Helpers

  • touch
  • mkdirp
  • rmrf

inode table design

file_uidfile_nameparent_uidfile_modefile_sizeblock_hashfile_ctimefile_mtime
(someguid)usr(someotherguid)S_IFDIR | 0o7770null15600005051560000505
(someguid)"foo"(someotherguid)S_IFREG | 0o6662323(file md5)15600005051560000505

Credits

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago