>It's part of the file system info. Recommended transfer size. I think >the current 64K limit in BFS is too small, so I'm using 256K in my >file system (the file system defines it). Various commands, like "cp" >use it to set their buffer size. > >To get it, use fs_stat_dev() and look at the io_size field. > >> 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. > >Yet another nice thing about OpenBeOS being open source; we can >implement whatever we want! Now all we need is a good VM and file >system cache combination... Is that a hint? I am working on it. ;-)