Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 21:05:24 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        ederbsd@gmail.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Direct access to hadware
Message-ID:  <20060328.210524.68035803.imp@bsdimp.com>
In-Reply-To: <9dd63e580603281516jee694b6sa7274b48c25f98c8@mail.gmail.com>
References:  <9dd63e580603281516jee694b6sa7274b48c25f98c8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <9dd63e580603281516jee694b6sa7274b48c25f98c8@mail.gmail.com>
            Eder <ederbsd@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060328.210524.68035803.imp>