1FSCK-LARCH(1) General Commands Manual FSCK-LARCH(1)
2
3
4
6 fsck-larch - verify that a larch B-tree is internally consistent
7
9 fsck-larch [--config=FILE] [--dump-config] [--dump-setting-names]
10 [--generate-manpage=TEMPLATE] [-h] [--help] [--help-all]
11 [--list-config-files] [--version] [--no-default-configs]
12 [--dump-memory-profile=METHOD] [--fix] [--no-fix] [--log=FILE]
13 [--log-keep=N] [--log-level=LEVEL] [--log-max=SIZE] [--log-mode=MODE]
14 [--memory-dump-interval=SECONDS] [--output=FILE] [--trace=PATTERN]
15 [FILE]...
16
18 fsck-larch reads an on-disk, committed B-tree created by the larch
19 Python library, and verifies that it is internally consistent. It re‐
20 ports any problems it finds, but does not currently fix them.
21
23 --fix fix problems found?
24
25 --no-fix
26 opposite of --fix
27
28 --generate-manpage=TEMPLATE
29 fill in manual page TEMPLATE
30
31 -h, --help
32 show this help message and exit
33
34 --output=FILE
35 write output to FILE, instead of standard output
36
37 --trace=PATTERN
38 add PATTERN to trace patterns
39
40 --version
41 show program's version number and exit
42
43 Configuration files and settings
44 --config=FILE
45 add FILE to config files
46
47 --dump-config
48 write out the entire current configuration
49
50 --dump-setting-names
51 write out all names of settings and quit
52
53 --help-all
54 show all options
55
56 --list-config-files
57 list all possible config files
58
59 --no-default-configs
60 clear list of configuration files to read
61
62 Logging
63 --log=FILE
64 write log entries to FILE (default is to not write log files at
65 all); use "syslog" to log to system log, "stderr" to log to the
66 standard error output, or "none" to disable logging
67
68 --log-keep=N
69 keep last N logs (10)
70
71 --log-level=LEVEL
72 log at LEVEL, one of debug, info, warning, error, critical, fa‐
73 tal (default: debug)
74
75 --log-max=SIZE
76 rotate logs larger than SIZE, zero for never (default: 0)
77
78 --log-mode=MODE
79 set permissions of new log files to MODE (octal; default 0600)
80
81 Peformance
82 --dump-memory-profile=METHOD
83 make memory profiling dumps using METHOD, which is one of: none,
84 simple, or meliae (default: simple)
85
86 --memory-dump-interval=SECONDS
87 make memory profiling dumps at least SECONDS apart
88
90 Larch home page (http://liw.fi/larch/).
91
92
93
94
95 FSCK-LARCH(1)