Package: initramfs-tools Version: 0.130 Severity: wishlist Tags: patch Hi.
After generating an initrd update-initramfs calls sync unconditinally. This can take a very long time to return if other disk activity, like perhaps a long backup job, is running simultaneously. Suggest only syncing the filesystem the initrd is actually placed on instead. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.12.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages initramfs-tools depends on: ii initramfs-tools-core 0.130 ii linux-base 4.5 initramfs-tools recommends no packages. Versions of packages initramfs-tools suggests: ii bash-completion 1:2.1-4.3 -- no debconf information *** /home/pollo/ir.diff --- update-initramfs~ 2017-03-07 00:42:55.000000000 +0200 +++ update-initramfs 2017-11-22 00:16:29.149530813 +0200 @@ -158,7 +158,7 @@ mv -f "${initramfs}.new" "${initramfs}" set_sha1 # Guard against an unclean shutdown - sync + sync -f "${initramfs}" else mkinitramfs_return="$?" remove_initramfs_bak