From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 25 10:03:18 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5026516A420 for ; Sat, 25 Jun 2005 10:03:18 +0000 (GMT) (envelope-from sebastien.b@swissinfo.org) Received: from md1.swissinfo.org (md1.swissinfo.org [146.159.4.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id D388F43D53 for ; Sat, 25 Jun 2005 10:03:17 +0000 (GMT) (envelope-from sebastien.b@swissinfo.org) Received: from mail.swissinfo.org ([194.6.181.33]) by md1.swissinfo.org (phad1.swissinfo.org [146.159.6.9]) (MDaemon.PRO.v7.2.1.R) with ESMTP id 53-md50000540121.msg for ; Sat, 25 Jun 2005 12:03:12 +0200 Received: from AAmiens-152-1-2-37.w83-192.abo.wanadoo.fr (83.192.65.37) by mail.swissinfo.org (7.0.020) (authenticated as sebastien.b) id 4153942004372AD8 for freebsd-hackers@freebsd.org; Sat, 25 Jun 2005 12:03:10 +0200 From: Seb To: freebsd-hackers@freebsd.org Date: Sat, 25 Jun 2005 12:03:13 +0200 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200506251203.13569.sebastien.b@swissinfo.org> X-Spam-Processed: phad1.swissinfo.org, Sat, 25 Jun 2005 12:03:12 +0200 (not processed: message from valid local sender) X-MDRemoteIP: 194.6.181.33 X-Return-Path: sebastien.b@swissinfo.org X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-MDAV-Processed: phad1.swissinfo.org, Sat, 25 Jun 2005 12:03:15 +0200 Subject: Accessing filesystem from a KLD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2005 10:03:18 -0000 Hello, How can I access the filesystem from a kernel module ? In fact, I want my device driver to retreive a firmware image stored on the filesystem (instead of putting the firmware data in a static array at compile-time) for memory usage and legal concerns. Blocking calls are OK. I have searched the manpages and the web, but I haven't found anything relevant. Thanks, Sebastien