From c80c920b73e2c9a52f25ee840b23eb8178400877 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Tue, 26 Jul 2022 18:43:44 +0200 Subject: [PATCH] document mmdebstrap hanging forever instead of ENOSPC in qemu as a comment --- mmdebstrap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index dd7e06a..91c40ff 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -5785,6 +5785,8 @@ sub main() { error("failed to run " . (join " ", @argv)); } } else { + # somehow, when running under qemu, writing to a virtio + # device will not result in a ENOSPC but just stall forever if (!copy($rfh, $options->{target})) { error "cannot copy to $options->{target}: $!"; }