From 2f4aa276e9c70a89da0996a0b855c1743426fd2f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 5 Jul 2019 15:21:10 +0200 Subject: [PATCH] hd_list: skip all devices with iso9660 as FS This ensures that when booting from a USB stick, or similar device, we do not show that device in the "Target Harddisk" selector. While there may be some constructed cases where this actually worked and was wanted, e.g., one created a partition on the end of a USB storage device, put the ISO on that and used the beginning of that device as target, I'd say that even if that worked with luck, it's better not actively not support it. Signed-off-by: Thomas Lamprecht --- proxinstall | 1 + 1 file changed, 1 insertion(+) diff --git a/proxinstall b/proxinstall index c8cdf21..9aa38e5 100755 --- a/proxinstall +++ b/proxinstall @@ -592,6 +592,7 @@ sub hd_list { next if $info !~ m/^E: DEVTYPE=disk$/m; next if $info =~ m/^E: ID_CDROM/m; + next if $info =~ m/^E: ID_FS_TYPE=iso9660/m; my ($name) = $info =~ m/^N: (\S+)$/m; -- 2.39.2