|
|
|
@ -28,7 +28,7 @@ set -x
|
|
|
|
|
|
|
|
|
|
sleep 0.5 |
|
|
|
|
|
|
|
|
|
# Find the first removable F2FS partition |
|
|
|
|
# Find the removable F2FS partition |
|
|
|
|
PART=$(lsblk -pro kname,partlabel | grep 01-home) |
|
|
|
|
|
|
|
|
|
# Make sure the mountpoints are free |
|
|
|
@ -42,7 +42,7 @@ if test "$PART"
|
|
|
|
|
then |
|
|
|
|
mount -o noatime "$PART" /mnt |
|
|
|
|
else |
|
|
|
|
# No removable F2FS partition found, use the third local partition instead |
|
|
|
|
# No removable F2FS partition found |
|
|
|
|
PART=$(lsblk -pro kname,partlabel | grep 01-tmp-home) |
|
|
|
|
|
|
|
|
|
if test -z "$PART" |
|
|
|
|