Better explanation
This commit is contained in:
parent
39282224cc
commit
32ae28d7fb
1 changed files with 9 additions and 0 deletions
|
@ -104,6 +104,15 @@ Options:
|
||||||
|
|
||||||
## Seafile on-disk storage
|
## Seafile on-disk storage
|
||||||
|
|
||||||
|
Seafile sees your filesystem as an entity to store objects having IDs.
|
||||||
|
So, all files in Seafile's storage follow the following pattern:
|
||||||
|
|
||||||
|
```
|
||||||
|
.../storage/{commits,fs,blocks}/$repo_id/$obj_id[:2]/$obj_id[2:]
|
||||||
|
```
|
||||||
|
|
||||||
|
The following schema explains how these objects are linked between them and how to read them:
|
||||||
|
|
||||||
```
|
```
|
||||||
storage/commits/(repoid) storage/fs/(repoid) storage/blocks/(repoid)
|
storage/commits/(repoid) storage/fs/(repoid) storage/blocks/(repoid)
|
||||||
(plain text json) (json + zlib) (chunk of raw data)
|
(plain text json) (json + zlib) (chunk of raw data)
|
||||||
|
|
Loading…
Reference in a new issue