[evoke] r1246 committed - * Teach mounter how to deal with sysconfig partitions.

1 view
Skip to first unread message

codesite...@google.com

unread,
Sep 9, 2009, 7:15:50 PM9/9/09
to evoke-...@googlegroups.com
Revision: 1246
Author: heliocentric
Date: Wed Sep 9 16:15:39 2009
Log: * Teach mounter how to deal with sysconfig partitions.


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

Reply all
Reply to author
Forward
0 new messages