Socket
Socket
Sign inDemoInstall

sqlitefs

Package Overview
Dependencies
135
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sqlitefs

A sqlite powered inode table (for cloudfs, mostly)


Version published
Weekly downloads
12
increased by500%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 21 Sep 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc