mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-03-14 09:55: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
|
||||
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]
|
||||
min-free-space = 123
|
||||
layout = [['foo','bar'],['foo']]
|
||||
|
||||
[[branches.group]]
|
||||
name = 'foo'
|
||||
|
||||
[[branches.group.branch]]
|
||||
active = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user