Revert "busybox-initramfs: mount with enabled 'discard', we will see if its problematic"

This reverts commit f7fce74ee097f90980bd3e5125d9139c8f795dff.
This commit is contained in:
Stephan Raue 2012-06-19 07:48:40 +02:00
parent 2625c8f62d
commit 4380792b1d

View File

@ -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
}