|
From: Serge L. <fi...@in...> - 2007-07-09 10:55:26
|
Hi,
Jan Hugo Prins wrote:
> But when I do a shutdown -h now it tries to do a rmdir
> (/dev/.udev/failed) but he comes back with some readonly error and this
> keeps scrolling.
> Don't know where this comes from yet.
It should help.
diff -aur config/etc/init.d/mountfs config/etc/init.d/mountfs.my
--- config/etc/init.d/mountfs 2007-07-09 14:51:49.000000000 +0400
+++ config/etc/init.d/mountfs.my 2007-07-09 14:45:10.000000000 +0400
@@ -198,7 +198,7 @@
echo -n "Unmounting file systems..."
#/bin/umount -n -a -r
- cat /proc/mounts | cut -f -3 -d " " | grep -v -e "shm$" -e
"rootfs$" -e "devfs$" -e " proc" | cut -f 2 -d " " | xargs -n 1 umount -rn
+ cat /proc/mounts | cut -f -3 -d " " | grep -v -e "tmpfs$" -e
"rootfs$" -e "sysfs$" -e " proc" -e "devpts" | cut -f 2 -d " " | xargs -n 1
umount -rn
evaluate_retval
# shutdown LVM if tools are installed
|