Changed files:
util-linux-blockdev.init -> 1.6
util-linux-blockdev.sysconfig -> 1.2
if [ ! -f /var/lock/subsys/blockdev ]; then
for drive in $(ls /sys/block 2> /dev/null); do
if [ -d "/sys/block/${drive}" -a -e "/dev/${drive}" ]; then
- eval PARAMS=\$BLOCKDEV_${drive}
+ eval PARAMS=\$BLOCKDEV_$(echo $drive | tr - _)
if [ -n "${PARAMS}" ]; then
show "Setting parameters for block drive %s (%s)" "$drive" "$PARAMS"
busy
-# This file lets you set your block device parameters for better performance
+# This file lets you set your block device parameters for better performance.
+# If device name contains dash (-), then it's translated to underscore (_) here.
# See blockdev (8) for details.
BLOCKDEV_hda=