Page MenuHomeDevCentral

D937.id2387.diff
No OneTemporary

D937.id2387.diff

diff --git a/scripts/byOS/Fedora/new-partition b/scripts/byOS/Fedora/new-partition
--- a/scripts/byOS/Fedora/new-partition
+++ b/scripts/byOS/Fedora/new-partition
@@ -26,9 +26,9 @@
MOUNTING_POINT=/$LVNAME
fi
-pvcreate $DEVICE
-vgextend $VG $DEVICE
-lvcreate -l 100%FREE -n $LVNAME $VG
-mkfs -t xfs /dev/$VG/$LVNAME
+pvcreate "$DEVICE"
+vgextend "$VG" "$DEVICE"
+lvcreate -l 100%FREE -n "$LVNAME" "$VG"
+mkfs -t xfs "/dev/$VG/$LVNAME"
cat "/dev/mapper/$VG-$LVNAME $MOUNTING_POINT xfs defaults 1 2" >> /etc/ftab
-mount $MOUNTING_POINT
+mount "$MOUNTING_POINT"

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 18:52 (20 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2247771
Default Alt Text
D937.id2387.diff (568 B)

Event Timeline