home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / lib / partman / mount.d / 70reiserfs < prev    next >
Encoding:
Text File  |  2007-04-12  |  293 b   |  25 lines

  1. #!/bin/sh
  2.  
  3. set -- $1
  4.  
  5. fs=$1
  6. mp=$2
  7. type=$3
  8. options=$4
  9. dump=$5
  10. pass=$6
  11.  
  12. case $type in
  13.     reiserfs)
  14.     if expr "$options" : '.*notail.*' >/dev/null; then
  15.         mount -o notail $fs /target$mp || exit 1
  16.     else
  17.         mount $fs /target$mp || exit 1
  18.     fi
  19.     echo "umount /target$mp"
  20.     exit 0
  21.     ;;
  22. esac
  23.  
  24. exit 1
  25.