~vcs-imports/partman-jfs/trunk

« back to all changes in this revision

Viewing changes to mount.d/jfs

  • Committer: cjwatson
  • Date: 2004-05-14 01:55:40 UTC
  • Revision ID: Arch-1:partman@bazaar.ubuntu.com%partman-jfs--trunk--0--base-0
Cloned from partman-xfs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
    jfs)
 
14
        mount -t jfs $fs /target$mp || exit 1
 
15
        echo "umount /target$mp"
 
16
        exit 0
 
17
        ;;
 
18
esac
 
19
 
 
20
exit 1