mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Revert "busybox-initramfs: mount with enabled 'discard', we will see if its problematic"
This reverts commit f7fce74ee097f90980bd3e5125d9139c8f795dff.
This commit is contained in:
parent
2625c8f62d
commit
4380792b1d
@ -356,13 +356,13 @@ NBD_DEVS="0"
|
||||
mount_disks() {
|
||||
progress "Mounting disks"
|
||||
|
||||
mount_part "$boot" "/flash" "ro,noatime,discard"
|
||||
mount_part "$boot" "/flash" "ro,noatime"
|
||||
|
||||
if [ -n "$disk" ]; then
|
||||
if [ -n "$OVERLAY" ]; then
|
||||
OVERLAY_DIR=`cat /sys/class/net/eth0/address | /bin/busybox tr -d :`
|
||||
|
||||
mount_part "$disk" "/storage" "rw,noatime,discard"
|
||||
mount_part "$disk" "/storage" "rw,noatime"
|
||||
mkdir -p /storage/$OVERLAY_DIR
|
||||
/bin/busybox umount /storage
|
||||
|
||||
@ -376,7 +376,7 @@ NBD_DEVS="0"
|
||||
fi
|
||||
fi
|
||||
|
||||
mount_part "$disk" "/storage" "rw,noatime,discard"
|
||||
mount_part "$disk" "/storage" "rw,noatime"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user