1
0
mirror of https://github.com/systemd/systemd synced 2025-09-30 09:14:46 +02:00

Compare commits

..

No commits in common. "5bb434e317d2f050dcaa0fb8c702279c5eacefd8" and "37d1f1573b859e61df46bed4648fa60da5b60102" have entirely different histories.

3 changed files with 5 additions and 6 deletions

3
TODO
View File

@ -133,8 +133,7 @@ Features:
* systemd-nspawn: something like --volatile= but that isn't volatile, but * systemd-nspawn: something like --volatile= but that isn't volatile, but
stores the data in some separate dir on disk. Usecase: keep always up-to-date stores the data in some separate dir on disk. Usecase: keep always up-to-date
DDIs of some OS in your home dir, but combine its /usr/ with a locally DDIs of some OS in your home dir, but combine its /usr/ with a locally
maintained root fs in a regular dir to maintain local state. (idea: call it maintained root fs in a regular dir to maintain local state.
--mutable= and take dir or DDI and merge in)
* maybe rework systemd-modules-load to be a generator that just instantiates * maybe rework systemd-modules-load to be a generator that just instantiates
modprobe@.service a bunch of times modprobe@.service a bunch of times

View File

@ -48,7 +48,7 @@ _journalctl() {
--utc -x --catalog --no-full --force --dump-catalog --utc -x --catalog --no-full --force --dump-catalog
--flush --rotate --sync --no-hostname -N --fields --flush --rotate --sync --no-hostname -N --fields
--list-namespaces --list-invocations -I -v --verbose' --list-namespaces --list-invocations -I -v --verbose'
[ARG]='-b --boot -D --directory -i --file -F --field -t --identifier [ARG]='-b --boot -D --directory --file -F --field -t --identifier
-T --exclude-identifier --facility -M --machine -o --output -T --exclude-identifier --facility -M --machine -o --output
-u --unit --user-unit -p --priority --root --case-sensitive -u --unit --user-unit -p --priority --root --case-sensitive
--namespace --invocation' --namespace --invocation'
@ -73,7 +73,7 @@ _journalctl() {
comps=$(compgen -d -- "$cur") comps=$(compgen -d -- "$cur")
compopt -o filenames compopt -o filenames
;; ;;
--file|-i) --file)
comps=$(compgen -f -- "$cur") comps=$(compgen -f -- "$cur")
compopt -o filenames compopt -o filenames
;; ;;

View File

@ -73,7 +73,7 @@ _journalctl_namespaces() {
# Build arguments for "journalctl" to be used in completion. # Build arguments for "journalctl" to be used in completion.
# Use both --user and --system modes, they are not exclusive. # Use both --user and --system modes, they are not exclusive.
local -a _modes; _modes=(--user --system) local -a _modes; _modes=(--user --system)
local -a _modes_with_arg; _modes_with_arg=(--directory -D -i --file -M --machine --root) local -a _modes_with_arg; _modes_with_arg=(--directory -D --file -M --machine --root)
typeset -a _sys_service_mgr typeset -a _sys_service_mgr
local w k v i=0 n=$#words local w k v i=0 n=$#words
while (( i++ < n )); do while (( i++ < n )); do
@ -132,7 +132,7 @@ _arguments -s \
'(--directory -D -M --machine --root --file)'{-M+,--machine=}'[Operate on local container]:machines:_sd_machines' \ '(--directory -D -M --machine --root --file)'{-M+,--machine=}'[Operate on local container]:machines:_sd_machines' \
'(--directory -D -M --machine --root --file)'{-D+,--directory=}'[Show journal files from directory]:directories:_directories' \ '(--directory -D -M --machine --root --file)'{-D+,--directory=}'[Show journal files from directory]:directories:_directories' \
'(--directory -D -M --machine --root --file)--root=[Operate on catalog hierarchy under specified directory]:directories:_directories' \ '(--directory -D -M --machine --root --file)--root=[Operate on catalog hierarchy under specified directory]:directories:_directories' \
'(--directory -D -M --machine --root)*'{-i+,--file=}'[Operate on specified journal files]:file:_files' \ '(--directory -D -M --machine --root)*--file=[Operate on specified journal files]:file:_files' \
'--disk-usage[Show total disk usage]' \ '--disk-usage[Show total disk usage]' \
'--dump-catalog[Dump messages in catalog]' \ '--dump-catalog[Dump messages in catalog]' \
'--flush[Flush all journal data from /run into /var]' \ '--flush[Flush all journal data from /run into /var]' \