forked from vaeth/squashmount
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
293 lines (247 loc) · 10.3 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
# ChangeLog for squashmount
*squashmount-8.3
Martin Väth <martin at mvath.de>:
- Fix some typos in manpage/examples introduced in 8.2
- Cosmetical code rearrangements
*squashmount-8.2
Martin Väth <martin at mvath.de>:
- use Exporter instead of manual manipulation of symbol glob table
- more compatible indirect call syntax
*squashmount-8.1
Martin Väth <martin at mvath.de>:
- Remove $rundir and $query from advanced configuration, and expose
less details than in 8.0 to ensure stability with future versions.
Instead:
- Provide have_stored_data(mountpoint)
- Introduce callback functionality to store user-defined data
- Introduce $storing (with side effects! Change also $locking!)
- export output functions info, warning, error, errorinfo, fatal
to configuration file (and use them for errors in that file)
- Full custom example with a "variable" custom FILE
- code cleanup: always use explicit package names, no imports
*squashmount-8.0
Martin Väth <martin at mvath.de>:
- Add possibilities for advanced configuration like conditional
mount-points (e.g. for cds),
- Add options -a --arg
- Provide @ARGV, $command, $query, $rundir for configuration file
- manpage: Add section "ADVANCED CONFIGURATION"
- Add example to etc/squashmount.pl about CD mount-points
- Add example about conditionals based on host-name
- Improve parsing of configuration file
- Document that configuration files must finish with a true expression
*squashmount-7.12
Martin Väth <martin at mvath.de>:
- Introduce a 4th verbose level to make external tools more verbose
- Do not suppress output in 3rd verbose level
- Further minor code cleanup
*squashmount-7.11
Martin Väth <martin at mvath.de>:
- code cleanup (prefer // over defined())
*squashmount-7.10
Martin Väth <martin at mvath.de>:
- Fix @umount{,_ro} and UMOUNT{,_RO} (they had swapped their meaning)
*squashmount-7.9
Martin Väth <martin at mvath.de>:
- Include @umount{,_ro} in examples
*squashmount-7.8
Martin Väth <martin at mvath.de>:
- Introduce UMOUNT{,_RO}, @umount{,_ro}, --umount{,-ro}
*squashmount-7.7
Martin Väth <martin at mvath.de>:
- Fix wrong cutting of directories (regression of squashmount-7.6)
- Use File::Spec->splitpath (should improve dir handling compatibility)
*squashmount-7.6
Martin Väth <martin at mvath.de>:
- Interpret strings as multiline regexp
- More compatible directory handling in threshold_dir
- Consistent regexp syntax: m{}, qr{}, or s{}{}
- Slight speedup by avoiding redundant return statements
*squashmount-7.5
Martin Väth <martin at mvath.de>:
- Improve/fix some regexes; quote newlines correctly
*squashmount-7.4
Martin Väth <martin at mvath.de>:
- Fix behaviour if directories with nonexisting parents are specified
*squashmount-7.3
*squashmount-7.2
Martin Väth <martin at mvath.de>:
- Check args in &added_hash() and &standard_mount() (>=perl-5.20)
*squashmount-7.1
Martin Väth <martin at mvath.de>:
- Use type 'overlayfs-obsolete' for old overlayfs (without workdir)
- Clean WORKDIR on every umount of an overlayfs (and only then)
- Create WORKDIR only if really required
- Introduce $obsolete_overlayfs = 'force' to skip creation of WORKDIR
- Remove $no_workdir (unwisely introduced in squashmount-7.0)
*squashmount-7.0
Martin Väth <martin at mvath.de>:
- WARNING: The meaning of &standard_mount() has changed!
Paths are now dir/changes dir/workdir dir/readonly dir/dir.sfs
You should reorganize your directory structure to reflect that!
The reason is that WORKDIR is mandatory with new overlayfs.
- Support current overlayfs (WORKDIR)
*squashmount-6.3
Martin Väth <martin at mvath.de>:
- Introduce -p/--processors, -m/--mem and $processors, $mem defaults
*squashmount-6.2
Martin Väth <martin at mvath.de>:
- Use the flexible $mksquash_verbose, --mksquash-verbose strings
instead of the previous $squash_verbose, --squash-verbose numbers.
To ease transition for users, currently an error is reported if
the now unsupported $squash_verbose is still set.
*squashmount-6.1
Martin Väth <martin at mvath.de>:
- Change meaning of squash_verbose
Default prefers mksquashfs -quiet if available
*squashmount-6.0a
Martin Väth <martin at mvath.de>:
- Revert to COMPRESSION=xz default until lz4 is supported by
mainstream kernel
*squashmount-6.0
Martin Väth <martin at mvath.de>:
- Support COMPOPT_* to allow setting algorithm-specific option.
- Default to COMPRESSION=lz4 (this is the reason for new major version)
- Default to COMPOPT_LZ4=-Xhc
- squashmount -vv list now outputs effective mksquashfs options
- Fix handling of mksquash compression option.
*squashmount-5.0
Martin Väth <martin at mvath.de>:
- Use -always-use-fragments by default
- Introduce DEFAULT_FRAGMENTS to avoid -always-use-fragments
- Improve printed output of shell commands
- Fix treatment of redirects
- Provide example of special mksquash compression option
*squashmount-4.5
*squashmount-4.4
Martin Väth <martin at mvath.de>:
- Add sanity check before deleting DIR after first creation of
squashfile, see https://github.com/vaeth/squashmount/issues/1
*squashmount-4.3
Martin Väth <martin at mvath.de>:
- Add /etc/nosquash to $killpower default. Fix reference to --keep
*squashmount-4.2
Martin Väth <martin at mvath.de>:
- Fix severely misleading typo on manpage for File::Temp::newdir
*squashmount-4.1
Martin Väth <martin at mvath.de>:
- Support $killpower (/etc/killpower) for fast emergency shutdown
*squashmount-4.0
Martin Väth <martin at mvath.de>:
- Introduce --backup, --no-backup, --tempdir, --compresssion
for temporarily overriding configuration, e.g. with set/restore
- Treat BACKUP as appendix if not an absolute path
*squashmount-3.7
Martin Väth <martin at mvath.de>:
- Make clearer that etc/squashmount.pl is only an example
- Fix typo in getpwnam() getgrnam() calls in example configuration
*squashmount-3.6
Martin Väth <martin at mvath.de>:
- Introduce CHMOD, CHOWN; default to CHMOD = 0644
*squashmount-3.5
*squashmount-3.4
Martin Väth <martin at mvath.de>:
- No locking default for status and print-*
- zsh completion: Use --no-locking when calling squashmount
*squashmount-3.3
*squashmount-3.2
Martin Väth <martin at mvath.de>:
- Improve documentation
*squashmount-3.1
*squashmount-3.0
Martin Väth <martin at mvath.de>:
- modprobe modules by default
- Support flags !, !!, ?, ??, # in @order
- Support $modprobe_squashfs
- Set @order to empty string if not needed
- Use qw(...) in examples where it makes sense
- standard_mount() and added_hash() can now be called without &
*squashmount-2.10
Martin Väth <martin at mvath.de>:
- Support FILL and FILLFUNC
*squashmount-2.9
Martin Väth <martin at mvath.de>:
- fix tmpfiles.d content which caused sometimes breakage with systemd
- fix systemd/openrc deps to avoid most problems even with "D" setting
- document emergency case explicitly
- improve behaviour in emergency case (getting DIR)
- cosmetical code cleanup
*squashmount-2.8
Martin Väth <martin at mvath.de>:
- fix: --error and --fatal can work together
- fix restart: postpone forget, not releasing lock too early
- Improve error handling for writing to /run/squashmount
*squashmount-2.7
Martin Väth <martin at mvath.de>:
- Introduce --locking and $locking and make it default
- New check command
- Add tmpfiles.d
- squashmount -fI {u,}mount now even continues after error
- Allow -f for status and print-... and improve results without -f
*squashmount-2.6
Martin Väth <martin at mvath.de>:
- Require -f for restart to forget+start an umounted mount-point
- Introduce --ignore-state to deal better with exceptional
situations caused by bugs (in squashmount or its config) or
by manual interfering
*squashmount-2.5
Martin Väth <martin at mvath.de>:
- Fix severe typo which caused umount to not save its state:
Regression introduced in squashmount-2.3 (=squashmount-2.4)
*squashmount-2.4
*squashmount-2.3
Martin Väth <martin at mvath.de>:
- Fix serious bug with restart command (forgetting despite mounting)
- Change of the /run/squashmount format (MOUNT_RW is now part of TYPE).
Be aware that this can lead to problems for mount-points mounted
with an older version of squashmount!
- Never touch /run/squashmount for info (status, print-...) commands
- Deal better with half-mounted/half-umounted directories (i.e. after
fatal mount/umount failures)
- More beautiful colored output if TERM::ANSIColor is available
- New options -c -C (--color --no-color), --star, --no-star
- Make most print-* commands return reasonable results also for
mount-points never mounted
- Rename option --pass-directory into --pass-dir
- Let print-... produce now more verbose output by default;
honour --separator only with -q
- Let print-threshold without -v or -q print the human-readable form
- Introduce --{no,}fatal and make --fatal default for {re,}start, stop
- internal: use File::Spec for more compatibility
- internal: make wanted function local to threshold_dir, using closures
*squashmount-2.2
Martin Väth <martin at mvath.de>:
- Remember paths; check for existence with File::Which
- Fix usage of unionfs-fuse and of unionfs. Thanks to yoshi314 for
reporting: http://forums.gentoo.org/viewtopic-t-465367-start-248.html
- Require -f on stop for umounted points to avoid accidental forget
of a semi-mounted state (could happen in case of certain bugs in
/etc/squashmount.pl or squashmount)
- Use bigint for sizes/thresholds to make it reliable on 32 bit systems
- Add more sanity checks
*squashmount-2.1
Martin Väth <martin at mvath.de>:
- Fix division by 0 on 32 bit systems
*squashmount-2.0
Martin Väth <martin at mvath.de>:
- Introduce &standard_mount, &added_hash config helpers,
remove misguided &standard_hash
- Let start, stop, restart differ from mount, umount, remount
- Introduce a separate create command
- Introduce reset, forget, --reset
- internal: make $current, $user_config global
- internal: reorder to allow prototyping if desired,
but avoid it as it makes no sense in perl5
*squashmount-1.1
Martin Väth <martin at mvath.de>:
- Fix handling of BACKUP
- various cosmetical fixes
*squashmount-1.0
Martin Väth <martin at mvath.de>:
- Improve documentation
- Fix rounding
- Fix sanity checks
- Try to skip remount
*squashmount-0.01
Martin Väth <martin at mvath.de>:
- Initial implementation, using some ideas of the squash_dir project