blob: ed1909947b26b6326e952ba720abf9187432cf50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
ext3_mount () {
modprobe -q ext3
mkdir $2
mount -t ext3 -onoatime,data=journal,errors=continue $1 $2
}
for arg in $CMDLINE; do
optarg=`expr "x$arg" : 'x[^=]*=\(.*\)'`
echo $arg xxx $optarg
case $arg in
ext3=*)
dev=`expr "$optarg" : '\([^:]*\).*'`
path=`expr "$optarg" : '[^:]*:\([^:]*\).*'`
ext3_mount $dev $path ;;
esac
done
|