[openbeos] Re: Question about Jobs(Command Line)

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 12 Sep 2002 18:29:34 CEST (+0200)

Andrew wrote:
> One feature that would be really nice is if cat would use DMA.  
> Currently the BFS driver uses DMA if you request a sufficiently large 
block size. (>64KB?)
> 
> This size is settable in the kernel file, but I have no idea how to 
> programmatically access the current setting.  If anyone knows that 
information I would really like to know it for media kit purposes as 
well.

I don't think it's possible - although you could always load that 
kernel settings file.
Anyway, I think of having an additional open mode to have uncached file 
access - it's already there for BSD, so we could just copy their flag 
(O_DIRECT or O_NOCACHE).
It's already part of fcntl.h in the repository, and maybe we will 
implement it already in R1.

Adios...
   Axel.



Other related posts: