View | Details | Raw Unified | Return to bug 155857
Collapse All | Expand All

(-)mkinitrd (-3 / +3 lines)
Lines 2149-2157 Link Here
2149
	|    local timeout=$udev_timeout
2149
	|    local timeout=$udev_timeout
2150
	|    root=$1
2150
	|    root=$1
2151
	|    if [ -n "$root" ]; then
2151
	|    if [ -n "$root" ]; then
2152
	|	echo -n "Waiting for device /dev/$root to appear: "
2152
	|	echo -n "Waiting for device $root to appear: "
2153
	|	while [ $timeout -gt 0 ]; do
2153
	|	while [ $timeout -gt 0 ]; do
2154
	|	    if [ -e /dev/$root ]; then
2154
	|	    if [ -e $root ]; then
2155
	|		echo " ok"
2155
	|		echo " ok"
2156
	|		retval=0
2156
	|		retval=0
2157
	|		break;
2157
	|		break;
Lines 2195-2201 Link Here
2195
	|    if [ -z "$root" ]; then
2195
	|    if [ -z "$root" ]; then
2196
	|	return 0
2196
	|	return 0
2197
	|    fi
2197
	|    fi
2198
	|    if [ -e $rootdev ] ; then
2198
	|    if udev_check_for_device $rootdev ; then
2199
	|	# Get major:minor number of the device node
2199
	|	# Get major:minor number of the device node
2200
	|	devn=$(devnumber $rootdev)
2200
	|	devn=$(devnumber $rootdev)
2201
	|	major=$(devmajor $devn)
2201
	|	major=$(devmajor $devn)

Return to bug 155857