8 Jun
2012
8 Jun
'12
3:11 p.m.
Am 08.06.2012 16:58, schrieb Dave Reisner:
This is a deprecated path in sysfs, and the check is illogical.
-[[ $USELVM = [Yy][Ee][Ss] && -x $(type -P lvm) && -d /sys/block ]] && +[[ $USELVM = [Yy][Ee][Ss] && -x $(type -P lvm) ]] &&
History lesson: Back when 2.4 was still supported, we would never know if sysfs was mounted. This check is the "/sys contains something useful, thus sysfs is mounted" check.