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 / 70xfs < prev   
Encoding:
Text File  |  2007-04-12  |  183 b   |  21 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.     xfs)
  14.     mount -t xfs $fs /target$mp || exit 1
  15.     echo "umount /target$mp"
  16.     exit 0
  17.     ;;
  18. esac
  19.  
  20. exit 1
  21.