mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Document mounting of binfmt_misc
@ 2003-08-11 18:31 John Levon
  0 siblings, 0 replies; only message in thread
From: John Levon @ 2003-08-11 18:31 UTC (permalink / raw)
  To: linux-kernel, torvalds; +Cc: ivg2


Patch by Ivan Gyurdiev. Please apply.

regards
john


diff -aur linux/Documentation/binfmt_misc.txt linux.new/Documentation/binfmt_misc.txt
--- linux/Documentation/binfmt_misc.txt	2003-07-27 19:34:57.749703952 -0400
+++ linux.new/Documentation/binfmt_misc.txt	2003-07-29 20:35:26.203488160 -0400
@@ -11,6 +11,9 @@
 bits) you have supplied. Binfmt_misc can also recognise a filename extension
 aka '.com' or '.exe'.
 
+First you must mount binfmt_misc:
+	mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc 
+
 To actually register a new binary type, you have to set up a string looking like
 :name:type:offset:magic:mask:interpreter: (where you can choose the ':' upon
 your needs) and echo it to /proc/sys/fs/binfmt_misc/register.
diff -aur linux/fs/Kconfig.binfmt linux.new/fs/Kconfig.binfmt
--- linux/fs/Kconfig.binfmt	2003-07-27 19:35:36.727778384 -0400
+++ linux.new/fs/Kconfig.binfmt	2003-07-29 20:37:07.336113664 -0400
@@ -111,6 +111,9 @@
 	  feature, and <file:Documentation/java.txt> for information about how
 	  to include Java support.
 
+          To use binfmt_misc, you will need to mount it:
+		mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
+
 	  You may say M here for module support and later load the module when
 	  you have use for it; the module is called binfmt_misc. If you
 	  don't know what to answer at this point, say Y.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-11 18:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-11 18:31 [PATCH] Document mounting of binfmt_misc John Levon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome