From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 29 04:05:01 2006 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 3472C16A401 for ; Wed, 29 Mar 2006 04:05:01 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF2FA43D46 for ; Wed, 29 Mar 2006 04:05:00 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k2T44h0v013143; Tue, 28 Mar 2006 21:04:43 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Tue, 28 Mar 2006 21:05:24 -0700 (MST) Message-Id: <20060328.210524.68035803.imp@bsdimp.com> To: ederbsd@gmail.com From: "M. Warner Losh" In-Reply-To: <9dd63e580603281516jee694b6sa7274b48c25f98c8@mail.gmail.com> References: <9dd63e580603281516jee694b6sa7274b48c25f98c8@mail.gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Direct access to hadware 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: Wed, 29 Mar 2006 04:05:01 -0000 In message: <9dd63e580603281516jee694b6sa7274b48c25f98c8@mail.gmail.com> Eder writes: : Hi all, : : I would like to know if exite some header ".h" in FreeBSD so : that I can make a direct access to hadware in machine with C. : : The intention is to make some things as, for example, to record ' FFFF ' in : first : the 512 bytes of hd or to record one floppy with ' FFFF ' of track zero. create a file with all ffff's. dd if=file of=/dev/ad0. Warner