util-linux/sys-utils
Zbigniew Jędrzejewski-Szmek cacd3e7685 fstrim: do not start the timer in initrd
I'm working on building initramfs images directly from normal
packages, which means that the pristine system rpms should behave
correctly as much as possible also in the initrd. There usually isn't
enough time for the timer to actually fire, but starting it gives a
line on the console and generally looks confusing and sloppy. So let's
skip the timer if it ever ends up being enabled in the initrd.

Checking for /etc/initrd-release is the standard condition that
systemd's initrd units use.
2021-05-21 10:45:35 +02:00
..
.gitignore build-sys: .gitignore hwclock-parse-date.c 2019-11-07 10:43:46 +01:00
Makemodule.am build-sys: fix libblkid dependence 2021-05-10 11:24:24 +02:00
adjtime_config.5.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
blkdiscard.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
blkdiscard.c blkdiscard: do not probe for signatures on --force 2021-05-13 10:34:14 +02:00
blkzone.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
blkzone.c blkzone: add report capacity command 2020-09-11 12:28:19 +02:00
chcpu.8.adoc fix whitespace issue in ducumentation 2021-05-10 15:53:50 +02:00
chcpu.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
chmem.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
chmem.c [clang-tidy] fix wrong *cmp usage 2020-04-20 13:21:00 -07:00
choom.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
choom.c choom: improve docs 2019-08-01 11:06:06 +02:00
ctrlaltdel.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
ctrlaltdel.c ctrlaltdel: display error message indicated by errno 2020-03-29 20:19:11 +01:00
dmesg.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
dmesg.c dmesg: fix and cleanup --read-clear 2021-03-01 16:50:20 +01:00
eject.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
eject.c eject: cleanup before successful exit 2021-02-01 12:21:18 +01:00
fallocate.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
fallocate.c fallocate: fix --dig-holes at end of files 2020-09-14 12:03:50 +02:00
flock.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
flock.c flock: fix time_t=long assumptions 2021-05-06 10:13:27 +02:00
fsfreeze.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
fsfreeze.c fsfreeze: remove unnecessary condition [lgtm scan] 2019-09-20 15:57:31 +02:00
fstab.5.adoc Asciidoc: Fix markup 2021-04-04 15:33:56 +02:00
fstrim.8.adoc fix whitespace issue in ducumentation 2021-05-10 15:53:50 +02:00
fstrim.c fstrim: fix paths comparison 2021-05-20 09:29:34 +02:00
fstrim.service.in fstrim: add --listed-in <file[:file ..]> 2020-05-22 14:48:31 +02:00
fstrim.timer fstrim: do not start the timer in initrd 2021-05-21 10:45:35 +02:00
hwclock-cmos.c hwclock: add SPDX-License-Identifier(s) 2019-11-08 11:12:13 +01:00
hwclock-parse-date.y hwclock: follow timespec and use long int for nsec 2021-05-06 11:56:14 +02:00
hwclock-rtc.c hwclock: fix indentation 2021-03-16 14:23:48 +01:00
hwclock.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
hwclock.c Fixed wrongful time_t=long assumptions in hwclock.c and timeutils.c 2021-04-29 11:56:37 +00:00
hwclock.h build-sys: use parse-date() only for hwclock 2019-11-07 09:02:23 +01:00
ipcmk.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
ipcmk.c lib/randutils: rename random_get_bytes() 2020-11-03 12:38:45 +01:00
ipcrm.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
ipcrm.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
ipcs.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
ipcs.c ipcs: fallback for overflow 2021-01-18 16:04:18 +01:00
ipcutils.c fix compiler warnings 2021-01-21 10:26:25 +01:00
ipcutils.h ipcs: use new ul_path_* API 2018-06-21 13:07:46 +02:00
irq-common.c lsirq: fix resources leak [coverity scan] 2021-03-25 12:14:46 +01:00
irq-common.h irqtop: small cleanup 2021-02-25 09:57:49 +01:00
irqtop.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
irqtop.c irqtop: add per-cpu stats 2021-02-24 20:11:05 +01:00
ldattach.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
ldattach.c [clang-tidy] do not return in void functions 2020-04-19 14:03:21 -07:00
losetup.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
losetup.c losetup: fix wrong printf() format specifier for ino_t data type 2020-12-05 23:51:27 +01:00
lscpu-arm.c lscpu: remove unnecessary prefix from static function 2020-12-15 11:31:57 +01:00
lscpu-cpu.c lscpu: fix memory leaks 2020-11-13 10:20:33 +01:00
lscpu-cputype.c lscpu: fix resource leak [coverity scan] 2020-11-19 12:00:58 +01:00
lscpu-dmi.c lscpu: add helper to get physical sockets 2020-11-20 09:17:12 +01:00
lscpu-topology.c lscpu: assume L1d, L1i, L2, L3 for sparc 2021-05-03 20:28:30 +02:00
lscpu-virt.c lscpu: fix variable shadowing 2020-12-28 09:53:12 +00:00
lscpu.1.adoc fix whitespace issue in ducumentation 2021-05-10 15:53:50 +02:00
lscpu.c lscpu: fix "caches" header 2021-04-28 10:51:07 +02:00
lscpu.h lscpu: report also number of cache instances 2021-04-01 12:27:05 +02:00
lsipc.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
lsipc.c lsipc: make default output byte sizes to be in human units 2020-12-28 09:53:13 +00:00
lsirq.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
lsirq.c irqtop/lsirq: add additional desc for softirq 2020-07-23 12:23:56 +02:00
lsmem.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
lsmem.c lsmem: use ul_path_readf_string() readable for analysers [coverity scan] 2021-03-25 12:23:21 +01:00
lsns.8.adoc man: add ioctl_ns(2) to SEE ALSO of lsns(2) 2021-04-17 00:23:22 +09:00
lsns.c lsns: add columns for parent namespaces and owner namespaces 2021-04-13 06:22:51 +09:00
meson.build meson: generate man pages from asciidoc 2021-04-06 15:32:46 +02:00
mount.8.adoc fix whitespace issue in ducumentation 2021-05-10 15:53:50 +02:00
mount.c Fix typo in help message. 2021-04-17 14:40:13 +02:00
mountpoint.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
mountpoint.c mountpoint: different exit status for errors and non-mountpoint situation 2021-03-11 10:48:36 +01:00
nsenter.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
nsenter.c nsenter / switch_root: fix insecure chroot [coverity scan] 2020-10-16 11:32:38 +02:00
pivot_root.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
pivot_root.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
prlimit.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
prlimit.c prlimit: make code more robust 2021-04-14 16:19:01 +02:00
readprofile.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
readprofile.c readprofile: fix static analyzer warning [coverity scan] 2021-02-18 11:24:12 +01:00
renice.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
renice.c renice: fix arguments description in --help 2019-11-08 11:32:18 +01:00
rfkill.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
rfkill.c rfkill: make RFKILL_EVENT_SIZE_V1 use more portable 2021-05-06 17:10:46 +02:00
rtcwake.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
rtcwake.c rtcwake: fix time_t=long assumptions 2021-05-06 11:07:22 +02:00
setarch.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
setarch.c cast NULL to char * when using execl 2020-10-29 19:49:07 +02:00
setpriv.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
setpriv.c Merge branch 'privfix' of https://github.com/ericonr/util-linux 2020-11-23 10:19:01 +01:00
setsid.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
setsid.c misc: consolidate version printing and close_stdout() 2019-04-16 15:14:13 +02:00
swapoff.c swapoff: do not use 1 exist status at all 2020-05-28 12:51:26 +02:00
swapon-common.c mount, umount, swapon, fsck, lsblk, findmnt: harmonize six error messages 2016-03-16 10:39:38 +01:00
swapon-common.h
swapon.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
swapon.c swapon: Keep headings and fields aligned in summary output. 2021-04-18 03:48:57 +02:00
switch_root.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
switch_root.c switch_root: check if mount point to move even exists 2021-02-08 15:35:07 +01:00
tunelp.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
tunelp.c [clang-tidy] fix misleading identation 2020-04-20 13:21:00 -07:00
umount.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
umount.c umount: support over-mounts for --recursive 2021-03-22 11:29:28 +01:00
unshare.1.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
unshare.c unshare: Fix error message when setting proc mount propagation 2021-05-07 00:53:29 +02:00
wdctl.8.adoc build-sys: make man pages location independent 2021-03-31 11:50:47 +02:00
wdctl.c wdctl: remove duplicate include of <unistd.h> 2019-08-19 15:00:35 +02:00
zramctl.8.adoc zramctl: (man) fix streams default number 2021-04-23 13:01:57 +02:00
zramctl.c [clang-tidy] do not use else after return 2020-04-20 13:20:59 -07:00