프로젝트
GitHub에서 보기
narumatt/sqlitefs
소개
sqlite를 파일 시스템으로 사용
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- +2
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalsqlite-fs
About
sqlite-fs allows Linux and MacOS to mount a sqlite database file as a normal filesystem.
Requirements
- Latest Rust Programming Language (≥ 1.38)
- libfuse(Linux) or osxfuse(MacOS) is required by fuse-rs
Usage
Mount a filesystem
$ sqlite-fs <mount_point> [<db_path>]
If a database file doesn't exist, sqlite-fs create db file and tables.
If a database file name isn't specified, sqlite-fs use in-memory-db instead of a file. All data will be deleted when the filesystem is closed.
Unmount a filesystem
- Linux
$ fusermount -u <mount_point>
- Mac
$ umount <mount_point>
example
$ sqlite-fs ~/mount ~/filesystem.sqlite &
$ echo "Hello world\!" > ~/mount/hello.txt
$ cat ~/mount/hello.txt
Hello world!
functions
- Create/Read/Delete directories
- Create/Read/Write/Delete files
- Change attributions
- Copy/Move files
- Create Hard Link and Symbolic Link
- Read/Write extended attributes
- [] File lock operations
- [] Strict error handling
관련 프로젝트 살펴보기
불러오는 중…