[PATCH] fadvise(2) system call

Warner Losh imp at bsdimp.com
Sat Nov 12 03:41:59 UTC 2011


On Nov 12, 2011, at 3:17 AM, perryh at pluto.rain.com wrote:

> Peter Wemm <peter at wemm.org> wrote:
>> On Fri, Nov 11, 2011 at 4:08 PM, Tim Kientzle <tim at kientzle.com>
>> wrote:
>>> ... seek(2) is badly broken on tape drives.
>>> It does nothing and doesn't return an error ...
>> 
>> Honestly, I think we've got bigger problems to worry about
>> than whether lseek() works on magnetic tape drives ...
> 
> True, but failing silently -- doing nothing but not returning an
> error -- is a POLA violation.  Those are worth fixing simply on
> principle.

Early Unix layering made that kinda hard... :(

Warner




More information about the freebsd-arch mailing list