2.4.19 revert block_llseek behavior to standard
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Christoph" == Christoph Hellwig <[email protected]> writes:
Christoph> What's the behaviour of other unix
Christoph> systems when seeking beyond the end of block devices?
The seek succeeds;
On a disc-like device, attempts to write at that offset return -1 EFBIG; the first attempt to read at that offset returns 0; subequent ones return -1 and ENXIO.
After the seek, lseek(fd, 0, SEEK_CURRENT) returns the (after end of file) current offset.
At least for the ones I've been able to test on (UNIXWare, Solaris).
--
Dr Peter Chubb [email protected]
You are lost in a maze of BitKeeper repositories, all almost the same.