qubes-core-agent-linux/init
Peter Gerber 7422d4b27b
setup-rwdev.sh: Only check first 1 GiB for zeros
As described in QubesOS/qubes-issues#3758, a VM may fail to start
if the volume is large. This because the whole volume is read to
ensure it's empty (=all zeros).

This changes limits the check to the first 1 GiB of the private
volume. As additional safety, a scan with blkid is done.

Fixes https://github.com/QubesOS/qubes-issues/issues/3758

(cherry picked from commit 8ff9cbe299)
2018-07-18 17:42:06 +02:00
..
control-printer-icon.sh Clean up early initialization and setup of /rw 2016-10-23 20:19:51 +00:00
functions dispvm: don't use perl to decode base64-encoded script 2017-05-14 23:29:52 +02:00
setup-dvm-home.sh Initialize home_volatile for disposable VMs. 2016-11-13 21:20:46 +00:00
setup-rw.sh Use online resize2fs, and run filesystem check only when needed 2017-02-27 04:21:59 +01:00
setup-rwdev.sh setup-rwdev.sh: Only check first 1 GiB for zeros 2018-07-18 17:42:06 +02:00