Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3746141
D937.id2387.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
568 B
Referenced Files
None
Subscribers
None
D937.id2387.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D937: Use double quote to prevent globbing and word splitting
Attached
Detach File
Event Timeline
Log In to Comment