summaryrefslogtreecommitdiff
path: root/initramfs
diff options
context:
space:
mode:
Diffstat (limited to 'initramfs')
-rwxr-xr-xinitramfs/init2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs/init b/initramfs/init
index c82a6e2..5b2516a 100755
--- a/initramfs/init
+++ b/initramfs/init
@@ -58,7 +58,7 @@ find_and_mount_media() {
mkdir -p ${MEDIAMNT}
CRUXMEDIA=""
CDROM_DEVICES="`awk '/drive name:/ { for (i=3;i<=NF;i++) { printf("%s ", $i) } }' /proc/sys/dev/cdrom/info`"
- BLOCK_DEVICES="`grep -E '[sh]d' /proc/partitions | awk '{ print $4 }'`"
+ BLOCK_DEVICES="`grep -E '[shv]d' /proc/partitions | awk '{ print $4 }'`"
for DEV in $CDROM_DEVICES $BLOCK_DEVICES
do
DEV="/dev/$DEV"

Generated by cgit