http://code.google.com/p/evoke/source/detail?r=1246
Modified:
/trunk/share/bin/mounter
=======================================
--- /trunk/share/bin/mounter Wed May 20 07:31:42 2009
+++ /trunk/share/bin/mounter Wed Sep 9 16:15:39 2009
@@ -724,6 +724,9 @@
ERRNO=$?
if [ "${ERRNO}" = "0" ] ; then
case "${MIME_TYPE}" in
+ application/vnd.evoke.sysconfig*)
+ PROTO="sysconfig"
+ ;;
application/vnd.evoke.fs.ufs*)
PROTO="ufs"
;;
@@ -968,7 +971,16 @@
# sysconfig basic wrapper.
sysconfig_mount () {
-
+ echo_config
+ if [ "${M_STYPE}" = "GEOM" ] ; then
+ if [ -c "${DEVICES}/${M_FILE}" ] ; then
+ sysconfig extract ${M_FILE} ${M_DESTINATION} >&2
+ else
+ mexit 9
+ fi
+ else
+ mexit 8
+ fi
}
# Wrapper for the real mount binary. Set default options here