From 8a8123439eb690ef3339d2442dc6ad9d4a46e53d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 3 May 2016 15:25:24 +0200 Subject: [PATCH] [dist] don't use ram disks for LVM --- dist/obsstoragesetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/obsstoragesetup b/dist/obsstoragesetup index 212b2f68f70..d0fac401012 100755 --- a/dist/obsstoragesetup +++ b/dist/obsstoragesetup @@ -101,7 +101,7 @@ case "$1" in # Find unpartitioned disks and create LVM partition on them for disk in `hwinfo --disk | grep "Device File:" |\ - cut -f2 -d: | cut -f2 -d" "`;do + | grep -v /dev/ram | cut -f2 -d: | cut -f2 -d" "`;do count=0 used= for i in `sfdisk -l $disk 2>/dev/null | tr -d '*' | grep ^/ |\