Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sqlitefs

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqlitefs

A sqlite powered inode table (for cloudfs, mostly)

  • 1.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
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

Package last updated on 21 Sep 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc