Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2011 20:41:45 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        perryh@pluto.rain.com
Cc:        tim@kientzle.com, freebsd-arch@FreeBSD.org
Subject:   Re: [PATCH] fadvise(2) system call
Message-ID:  <AF86B2D1-6337-4FFD-BE20-BBA3A26BCD52@bsdimp.com>
In-Reply-To: <4ebe47ce.gGq91QcdXBP300Km%perryh@pluto.rain.com>
References:  <201110281426.00013.jhb@freebsd.org> <4EB2C9DD.9090606@FreeBSD.org> <20111104160319.GD6110@elvis.mu.org> <201111080800.32717.jhb@freebsd.org> <CAGE5yCoTvYNXNc37V0%2Bt783uh=6J-_J-dt_Km_4xbO7O2O2BUw@mail.gmail.com> <6E287E90-AA62-4776-A09D-394D69C9494F@kientzle.com> <1B4CA8AC-8798-40CD-9379-FA0F379558DE@bsdimp.com> <4698F60B-CBF7-4D80-9368-CC6FBD893C0B@kientzle.com> <CAGE5yCp1OKeTFLgKDttJcAZ0Q_j9UsuJ=%2BLBzCmOruFDkQ%2BSnQ@mail.gmail.com> <4ebe47ce.gGq91QcdXBP300Km%perryh@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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

> Peter Wemm <peter@wemm.org> wrote:
>> On Fri, Nov 11, 2011 at 4:08 PM, Tim Kientzle <tim@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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AF86B2D1-6337-4FFD-BE20-BBA3A26BCD52>