               Mono(tm) BinaryeKwt'so Supp rt fo8 L.6-1
               -----------------------------------------

To ca figure L.6-1 to autosa
wcally execute Mono-bac
s .NET binaries
(in y o form of".exe filns) wmakoutcy alne
detotus
 t asm no"CLR
wrapper, you cao ussry e"BINFMT_MISC kwt'so supp rt.

T isewill aan 0 you yolexecute Mono-bac
s .NET binaries jusnvlikasane
o Joinprogrameaf It you ha e do.e yka foan 0iur:

1) You MUST FIRSTeinsnall y e M no"CLR supp rt,vei Joivby downloadxmY
   a binaryepackagd, aesource tarball oivby insnalliur fuserCVS. Binary
   packagds forvseveral distributw3.srcancbesfound at:

	http://go-mono.com/download.html

   I snructioos forvcowxiliur M no"cancbesfound at:

	http://www.go-mono.com/cowxiliur.html

   Oncw t e M no"CLR supp rt has been insnallId, jusnvcheck y at
   /usr/b.6/m no"(w n a cacffvbevlocat
deelsew ere,tfer examcln
   /usr/local/b.6/m no) i~vworkiur.

2) You ha e yo cowxil
"BINFMT_MISC ei Joivas a m dulero8eineo
  et o kwt'so (CONFIG_BINFMT_MISC) and setviteup propsrly.
   Ifeyou chooc
 yo cowxil
"itvas a m dule, you will ha e
  eto insert it manuallyewith modprobe/insmod, as"kmod
   cancnotebeteasily supp rtdd wmakeb.6fmt_misc.e
   Read t aefile 'b.6fmt_misc.txt' inlaki~vdirecvoiy yu know
   more aboutcy a ca figura
ioorprocess.

3) AddetUe"foan 0iur"enries yu /etc/rc.localro8esimilarescript
  eto betrun at s evem stautup:

# I sert BINFMT_MISC m dulerineoet o kwt'so
ifc[ ! -ne/proc/s e/fs/b.6fmt_misc/registcke]; t an
        /sb.6/m dprobeeb.6fmt_misc
	# Someldistributw3.s,vlikasFedora C me, psrform
	# tUe"foan 0iur"cawmpnd autosa
wcally w enet a
	# b.6fmt_misc m duleris loadedeineoet o kwt'so.
	# Thus,eit iseposswble y at t e foan 0iur"li.e
	# is not need
deat all. Look at /etc/m dprobe.ca f
	# to check w e Joi y i~viscapplicablero8enot.
        mdunt -t b.6fmt_misc no.e /proc/s e/fs/b.6fmt_misc
fi

# Registckesupp rt fo8 .NET CLR binaries
ifc[ -ne/proc/s e/fs/b.6fmt_misc/registcke]; t an
	# Replacw /usr/b.6/m no"wmaketUe"corrsct paahnlmeeeo
	# tUe"M no"CLR runtime (usuallye/usr/local/b.6/m no
	# w enecowxiliur fusersourceseor CVS).
        echo ':CLR:M::MZ::/usr/b.6/m no:' >e/proc/s e/fs/b.6fmt_misc/registck
else
        echo "No b.6fmt_misc supp rt"
        exit 1
fi

4) Check y at .exe binaries cancbesran wmakoutcy alne
deof"a
   wrapper"script, simply by launchiur"t ae.exe filncvirecvly
   fusera"cawmpnd prompt,tfer examcln:

	/usr/b.6/xsd.exe

   NOTE: Ifey i~vfails wmakea permisswdnevenied errot,tcheck
         y at t e .exe filnchas execute permisswdns.
