From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA29005; Sat, 3 Nov 2001 21:51:56 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA28931 for ; Sat, 3 Nov 2001 21:51:55 +0100 (MET) Received: from ontil.ihep.su (ontil.ihep.su [194.190.161.63]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id fA3KpsX14548 for ; Sat, 3 Nov 2001 21:51:54 +0100 (MET) Received: from localhost (vsl@localhost) by ontil.ihep.su (8.11.0/8.11.0) with ESMTP id fA3KtDt20768; Sat, 3 Nov 2001 23:55:14 +0300 Date: Sat, 3 Nov 2001 23:55:13 +0300 (MSK) From: Vitaly Lugovsky To: Vikas Sodhani cc: Subject: Re: [Caml-list] ocaml and linux kernel programming In-Reply-To: <3BE2B882.2D176F44@oryxa.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, 2 Nov 2001, Vikas Sodhani wrote: > Hi, I am just learning the OCaml language and was hoping to receive some > advice on the possibilities and trade offs of writing linux kernel > modules using ocaml. You can try userspace system call gateway (don't remember the name of this patch... Winmodem people are playing with it right now, so you can ask them). > I am trying to write a module that sits in between the file system and a > hard disk device driver. The code would interpret the calls from the > file system and relay calls back to the hard disk device driver. > Essentially the code would be a layer over the hard disk device driver. Kernel space modules are very limited. :( > Is this possible using OCaml? What are the trade offs of using ocaml > versus c. I would appreciate any advice or help. Btw., 2ALL: what about "Caml OS"? It can be a binfmt-misc module for Linux, and even an infrastructure for a syscall gateway for Caml kernel drivers. ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr