On Tue, Nov 15, 2011 at 08:24:50PM +0000, Alexander Best wrote:
> one of the things i'm missing is an easy way to determine, whether a stream or
> fd is seekable. i checked the dd(1) and hd(1) sources and those tools are
> performing so much stuff just to find out if this is the case, and they still
> are doing a very poor job.

Isn't the primary issue that FreeBSD doesn't properly report errors for
lseek(2)? I think you should start from that and not hack around the
fallout...

Joerg
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to