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

(-)/etc/init.d/halt (-5 / +1 lines)
Lines 178-188 Link Here
178
178
179
# on umsdos fs this would lead to an error message, so direct errors to
179
# on umsdos fs this would lead to an error message, so direct errors to
180
# /dev/null
180
# /dev/null
181
##### Diego
181
mount -no remount,ro / 2> /dev/null
182
fuser -a -m /  2>/dev/null | \
183
  xargs -n 1 -r | while read p; do ls -Gl /proc/$p/fd; done | tee -a /var/log/boot.fail.msg
184
185
mount -no remount,ro / #2> /dev/null
186
sync
182
sync
187
183
188
# stop any inactive software raid
184
# stop any inactive software raid
(-)/etc/init.d/boot.localfs (-7 lines)
Lines 359-371 Link Here
359
	    sync; sleep 1; sync
359
	    sync; sleep 1; sync
360
	    echo "... hope now it's ok to reboot."
360
	    echo "... hope now it's ok to reboot."
361
	fi
361
	fi
362
	############ Diego
363
	
364
	echo "`date` mounts@boot.localfs:" >>  /var/log/boot.fail.msg
365
	cat /proc/mounts | tee -a /var/log/boot.fail.msg
366
	echo "fuser:" | tee -a /var/log/boot.fail.msg
367
	fuser -m / | tee -a /var/log/boot.fail.msg
368
	read -t 120 a
369
	;;
362
	;;
370
    restart)
363
    restart)
371
	rc_failed 3
364
	rc_failed 3

Return to bug 466484