From f4d4be1f0223a2e888286988503ea26fee2a8324 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 5 Jun 2012 18:32:52 +0200 Subject: Also allowing /dev/vd* to be used as swap devices and drop /dev/hd*. --- initramfs-tools/scripts/live-bottom/12fstab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'initramfs-tools/scripts') diff --git a/initramfs-tools/scripts/live-bottom/12fstab b/initramfs-tools/scripts/live-bottom/12fstab index d71800d..94adddb 100755 --- a/initramfs-tools/scripts/live-bottom/12fstab +++ b/initramfs-tools/scripts/live-bottom/12fstab @@ -48,7 +48,7 @@ if [ -n "${LIVE_SWAPON}" ] then devices="" - for device in /dev/[hs]d[a-z][0-9]* + for device in /dev/[sv]d[a-z][0-9]* do if ! [ -b "${device}" ] then -- cgit v1.2.3