Magellan Linux

Diff of /trunk/magellan-initscripts/etc/rc.d/init.d/mountfs

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

revision 354 by niro, Sat Mar 25 13:06:53 2006 UTC revision 512 by niro, Fri Aug 17 22:06:00 2007 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/mountfs,v 1.6 2006-03-25 13:06:53 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/mountfs,v 1.7 2007-08-17 22:06:00 niro Exp $
3    
4  #%rlevels: 7:s 0:k 6:k  #%rlevels: 7:s 0:k 6:k
5  #%start: 40  #%start: 40
# Line 69  case "$1" in Line 69  case "$1" in
69   # records udev as mounted   # records udev as mounted
70   if is_fs_mounted udev   if is_fs_mounted udev
71   then   then
72   mount -f -t ramfs udev /dev   # get the fstype of udev - it may be ramfs or tmpfs
73     udev_fstype="$(cat /proc/filesystems | grep ${filesys} | cut -d $'\t' -f3)"
74     mount -f -t ${udev_fstype} udev /dev
75   fi   fi
76    
77   evaluate_retval   evaluate_retval

Legend:
Removed from v.354  
changed lines
  Added in v.512