Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2001 17:08:44 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Kevin Hui <khui@cs.toronto.edu>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Raw disk access in userland
Message-ID:  <20010704170844.A47113@panzer.kdm.org>
In-Reply-To: <Pine.GSO.4.21.0107041755320.29598-100000@gardiner.cs>; from khui@cs.toronto.edu on Wed, Jul 04, 2001 at 05:58:58PM -0400
References:  <Pine.GSO.4.21.0107041755320.29598-100000@gardiner.cs>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 04, 2001 at 17:58:58 -0400, Kevin Hui wrote:
> Hi all,
> 
> I'm wondering if *BSD have any support for user programs to access raw
> disk devices, unbuffered.  Such support is available under Linux:
> 
> http://www.kernel.org/LDP/HOWTO/SCSI-2.4-HOWTO/rawdev.html
> http://www2.linuxjournal.com/cgi-bin/linux/man.cgi?mode=search&comm=raw&sect=1
> 
> Any information regarding this would be appreciated.

There are no block (i.e. buffered) devices in FreeBSD, only character
devices.

So you can access raw devices without having to go through all the hoops
described above.

Ken
-- 
Kenneth Merry
ken@kdm.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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