Re: Raw disk access in userland

2001-07-04 Thread Kenneth D. Merry
On Wed, Jul 04, 2001 at 23:42:50 -0700, Mike Smith wrote: > > On Wed, Jul 04, 2001 at 20:18:51 -0400, Kevin Hui wrote: > > > Then the question is whether the kernel is copying data between userspace > > > and kernelspace or whether it just DMAs the data straight in/out of the > > > user program's

Re: Raw disk access in userland

2001-07-04 Thread Mike Smith
> On Wed, Jul 04, 2001 at 20:18:51 -0400, Kevin Hui wrote: > > Then the question is whether the kernel is copying data between userspace > > and kernelspace or whether it just DMAs the data straight in/out of the > > user program's address space. In Linux raw-io, given that it is a block > > devi

Re: Raw disk access in userland

2001-07-04 Thread Kenneth D. Merry
On Wed, Jul 04, 2001 at 20:18:51 -0400, Kevin Hui wrote: > Then the question is whether the kernel is copying data between userspace > and kernelspace or whether it just DMAs the data straight in/out of the > user program's address space. In Linux raw-io, given that it is a block > device and you

Re: Raw disk access in userland

2001-07-04 Thread Kevin Hui
Then the question is whether the kernel is copying data between userspace and kernelspace or whether it just DMAs the data straight in/out of the user program's address space. In Linux raw-io, given that it is a block device and you are doing page-aligned block I/Os on it, is smart and does zero

Re: Raw disk access in userland

2001-07-04 Thread Kenneth D. Merry
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.linuxjour

Raw disk access in userland

2001-07-04 Thread Kevin Hui
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§=1 Any information