Magellan Linux

Diff of /trunk/busybox-initscripts/rc/mountfs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1195 by niro, Wed Dec 15 17:44:36 2010 UTC revision 1196 by niro, Thu Jan 27 20:42:23 2011 UTC
# Line 35  case "$1" in Line 35  case "$1" in
35    
36   elif [ -f /mnt/cdrom/livecdrootfs.sqsh ]   elif [ -f /mnt/cdrom/livecdrootfs.sqsh ]
37   then   then
38   mount -f /mnt/cdrom/livecdrootfs.sqsh /mnt/cloop -t ext2 -o ro   mount -f /mnt/cdrom/livecdrootfs.sqsh /mnt/cloop -t squashfs -o ro
39   fi   fi
40   else   else
41   rc_print "Remounting root file system in read-write mode ..."   rc_print "Remounting root file system in read-write mode ..."
# Line 100  case "$1" in Line 100  case "$1" in
100   rc_print "Unmounting all other currently mounted file systems ..."   rc_print "Unmounting all other currently mounted file systems ..."
101   if [ -e /dev/.udev ]   if [ -e /dev/.udev ]
102   then   then
103   NO_FS="noramfs,notmpfs,nodevtmpfs"   NO_FS="noramfs,notmpfs,nodevtmpfs,nodevpts"
104   umount -a -r -d -t ${NO_FS}   umount -a -r -d -t ${NO_FS}
105   else   else
106   # -d, umount loop devices as well   # -d, umount loop devices as well
# Line 120  case "$1" in Line 120  case "$1" in
120   ;;   ;;
121    
122   *)   *)
123   echo "Usage: $0 {start|stop}"   rc_echo "Usage: $0 {start|stop}"
124   exit 1   exit 1
125   ;;   ;;
126  esac  esac

Legend:
Removed from v.1195  
changed lines
  Added in v.1196