mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-03-15 02:35:12 +08:00
checkpoint
This commit is contained in:
parent
5deff9025a
commit
2df4ed4c6e
35
config.toml
35
config.toml
@ -78,11 +78,42 @@ writeback = false
|
|||||||
symlinks = false
|
symlinks = false
|
||||||
readdir = false
|
readdir = false
|
||||||
|
|
||||||
|
[[branch]]
|
||||||
|
enabled = true
|
||||||
|
name = 'foo'
|
||||||
|
type = 'literal'
|
||||||
|
path = '/mnt/hdd/foo'
|
||||||
|
mode = 'RO'
|
||||||
|
|
||||||
|
[[branch]]
|
||||||
|
enabled = true
|
||||||
|
name = 'bar'
|
||||||
|
type = 'literal'
|
||||||
|
path = '/mnt/hdd/foo'
|
||||||
|
mode = 'RW'
|
||||||
|
|
||||||
|
[[branch]]
|
||||||
|
enabled = true
|
||||||
|
name = 'ssds'
|
||||||
|
type = 'glob'
|
||||||
|
path = '/mnt/ssd/*'
|
||||||
|
order = 'name:asc' # | size
|
||||||
|
mode = 'RW'
|
||||||
|
|
||||||
|
# scan type: look for paths with a '.mergerfs' file or xattr?
|
||||||
|
[[branch]]
|
||||||
|
name = 'asdf'
|
||||||
|
type = 'scan'
|
||||||
|
path = '*'
|
||||||
|
|
||||||
|
[[branch-group]]
|
||||||
|
name = '0'
|
||||||
|
branches = ['foo','bar']
|
||||||
|
|
||||||
[branches]
|
[branches]
|
||||||
min-free-space = 123
|
min-free-space = 123
|
||||||
|
layout = [['foo','bar'],['foo']]
|
||||||
|
|
||||||
[[branches.group]]
|
|
||||||
name = 'foo'
|
|
||||||
|
|
||||||
[[branches.group.branch]]
|
[[branches.group.branch]]
|
||||||
active = true
|
active = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user