Skip to content

Commit 2f42df8

Browse files
committed
remove redundant rw options
rw is implied when mounting on linux.
1 parent 50ac1c2 commit 2f42df8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

extend_and_mount_images.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ echo "Creating mount point for vendor"
3939
mkdir -p $MountPointVendor
4040

4141
echo "Mounting product"
42-
mount -o rw $ImagesRoot/product.img $MountPointProduct
42+
mount $ImagesRoot/product.img $MountPointProduct
4343

4444
echo "Mounting system_ext"
45-
mount -o rw $ImagesRoot/system_ext.img $MountPointSystemExt
45+
mount $ImagesRoot/system_ext.img $MountPointSystemExt
4646

4747
echo "Mounting system"
48-
mount -o rw $ImagesRoot/system.img $MountPointSystem
48+
mount $ImagesRoot/system.img $MountPointSystem
4949

5050
echo "Mounting vendor"
51-
mount -o rw $ImagesRoot/vendor.img $MountPointVendor
51+
mount $ImagesRoot/vendor.img $MountPointVendor
5252

53-
echo "!! Images mounted !!"
53+
echo "!! Images mounted !!"

0 commit comments

Comments
 (0)