|
From: Serge L. <sma...@us...> - 2009-09-10 23:32:21
|
Update of /cvsroot/devil-linux/build/config/etc/init.d In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv15514 Modified Files: mountfs Log Message: unmount partitions in revers order, i.e. the last mounted will be unmounted the first Index: mountfs =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/init.d/mountfs,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- mountfs 11 Mar 2008 20:07:40 -0000 1.44 +++ mountfs 10 Sep 2009 23:29:42 -0000 1.45 @@ -199,7 +199,7 @@ echo -n "Unmounting file systems..." #/bin/umount -n -a -r - 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 + tac /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 |