| Fri, 27 Sep 2024 17:23:01 +0200 |
Franz Glasner |
Put the check for opened files with "procstat" into a subroutine and use it
|
| Fri, 27 Sep 2024 16:52:28 +0200 |
Franz Glasner |
common.subr: FIX: trailing shashes should be only checked for absolute paths
|
| Fri, 27 Sep 2024 14:40:49 +0200 |
Franz Glasner |
common.subr: FIX: Quote ${1-} where it is a directory/path argument
|
| Fri, 27 Sep 2024 14:36:37 +0200 |
Franz Glasner |
common.subr: Enhance docs
|
| Fri, 27 Sep 2024 13:22:11 +0200 |
Franz Glasner |
common.subr: Do not use $'...' where not needed
|
| Fri, 27 Sep 2024 13:18:52 +0200 |
Franz Glasner |
common.subr: FIX: Use \t instead of \t+ as input field separator for awk
|
| Fri, 27 Sep 2024 13:03:11 +0200 |
Franz Glasner |
common.subr: Use LC_ALL=C.UTF-8 where appropriate.
|
| Thu, 26 Sep 2024 15:21:33 +0200 |
Franz Glasner |
common.subr: allow to overwrite the path to "jq": use : ${JQ=...} to init the variable if not yet done
|
| Tue, 24 Sep 2024 18:55:17 +0200 |
Franz Glasner |
common.subr: "_get_mounts_at_directory()" not accepts an optional "-r" option for reverse output
|
| Tue, 24 Sep 2024 18:20:30 +0200 |
Franz Glasner |
common.subr: FIX: err() and fatal() now really out their output to stderr.
|
| Tue, 24 Sep 2024 18:17:50 +0200 |
Franz Glasner |
common.subr: Implement _get_zfs_mounts_for_dataset_tree() to search for current mounts of a given ZFS dataset and its children
|
| Tue, 24 Sep 2024 14:23:03 +0200 |
Franz Glasner |
common.subr: docs
|
| Wed, 11 Sep 2024 16:49:17 +0200 |
Franz Glasner |
Call jls with its full path and require "no-locale" for text output also
|
| Wed, 11 Sep 2024 12:34:32 +0200 |
Franz Glasner |
Normalize the output of _get_mounts_at_directory() to use TABs as field separators only.
|
| Wed, 11 Sep 2024 12:11:52 +0200 |
Franz Glasner |
common.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFScommon.subr: simplify IFS
|
| Wed, 11 Sep 2024 12:09:48 +0200 |
Franz Glasner |
common.subr: Use printf instead of echo where appropriate
|
| Wed, 11 Sep 2024 12:02:41 +0200 |
Franz Glasner |
common.subr: print the offending argument in error message of _ensure_no_options()
|
| Tue, 10 Sep 2024 10:42:44 +0200 |
Franz Glasner |
Using jq: the '.a.b.c.["d"]' syntax in chains is 1.7+: use the old syntax '.a.b.c["d"]' instead.
|
| Tue, 10 Sep 2024 10:13:59 +0200 |
Franz Glasner |
When analyzing the output of "mount -p" check for proper parsing capability: no improper mixing of tabs and spaces.
|
| Tue, 10 Sep 2024 01:54:42 +0200 |
Franz Glasner |
FIX: Reading from a tsv requires a TAB IFS
|
| Tue, 10 Sep 2024 01:52:30 +0200 |
Franz Glasner |
Docs: add a return type where appropriate
|
| Tue, 10 Sep 2024 01:50:20 +0200 |
Franz Glasner |
Use a new .shellcheckrc file for common configuration settings for shellcheck.
|
| Mon, 09 Sep 2024 15:38:20 +0200 |
Franz Glasner |
For shellcheck commands: put a link to their website for an explanation
|
| Mon, 09 Sep 2024 14:28:55 +0200 |
Franz Glasner |
Replace the use of "deprecated" egrep calls with "grep -E"
|
| Mon, 09 Sep 2024 13:31:58 +0200 |
Franz Glasner |
common.subr: handle some shellcheck warnings
|
| Thu, 05 Sep 2024 22:06:51 +0200 |
Franz Glasner |
Reset some variables in the process environment at loading time: GREP_OPTIONS and PATH_FSTAB.
|
| Wed, 04 Sep 2024 22:08:23 +0200 |
Franz Glasner |
common.subr: _get_jail_from_path() now works with spaces in path values.
|
| Wed, 04 Sep 2024 21:53:43 +0200 |
Franz Glasner |
common.subr: _get_mounts_at_directory() and _get_zfs_dataset_for_mountpoint() now also work for path and/or datasets with spaces in their names/values.
|
| Wed, 04 Sep 2024 20:52:57 +0200 |
Franz Glasner |
fzfs umount: umounting now also works for datasets and/or mountpoints that have spaces in their values.
|
| Wed, 04 Sep 2024 18:29:42 +0200 |
Franz Glasner |
Use absolute paths for "mount" (all occurrences) and grep (some)
|
| Wed, 04 Sep 2024 11:15:29 +0200 |
Franz Glasner |
common.subr: Implement check_zfs_naming() to check for valid ZFS names
|
| Fri, 30 Aug 2024 16:44:23 +0200 |
Franz Glasner |
Also implement "err()" in as common shell subroutine
|
| Fri, 30 Aug 2024 16:42:04 +0200 |
Franz Glasner |
Implement "checkyesno()" and "checkyes()" in the common shell subroutines
|
| Fri, 30 Aug 2024 15:51:26 +0200 |
Franz Glasner |
FIX: Use correct printf formatting character
|
| Fri, 30 Aug 2024 15:36:41 +0200 |
Franz Glasner |
Implement fatal() and warn() in the common scripts as helpers for printing warnings and exiting with fatal errors
|
| Tue, 14 May 2024 09:46:54 +0200 |
Franz Glasner |
Move "_get_mounts_at_directory()" into common.subr
|
| Thu, 09 May 2024 09:02:34 +0200 |
Franz Glasner |
Change return values from _get_jail_from_path(): swap values for "dying" and "not found"
|
| Thu, 09 May 2024 08:44:24 +0200 |
Franz Glasner |
Move "_get_jail_from_path()" into common.subr
|
| Wed, 08 May 2024 08:55:54 +0200 |
Franz Glasner |
Style: consistent Google style
|
| Tue, 07 May 2024 09:32:43 +0200 |
Franz Glasner |
Style: Convert comments to new style in common.subr
|
| Mon, 06 May 2024 09:32:14 +0200 |
Franz Glasner |
Rename recently moved functions: _get_dataset... -> _get_zfs_dataset...
|
| Mon, 06 May 2024 09:14:41 +0200 |
Franz Glasner |
Move "_get_dataset_for_mountpoint()" and "_get_dataset_for_varempty()" into common.subr
|
| Fri, 03 May 2024 09:41:38 +0200 |
Franz Glasner |
Move "_ensure_no_optios()" into common.subr
|
| Fri, 03 May 2024 09:35:09 +0200 |
Franz Glasner |
Move "_get_local_zfs_properties_for_create()" into common.subr
|
| Thu, 02 May 2024 09:33:51 +0200 |
Franz Glasner |
Prepare a script that shall contain common subroutines for all scripts.
|