Re: aufs write doesn't lseek

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 15 May 2006 20:50:18 +0200

tis 2006-05-16 klockan 02:01 +0800 skrev Adrian Chadd:

> I'll eventually turn all of this into compile-time options, with
> relevant warnings as to what works/what doesn't. I'd like to hope
> the emulation of pread/pwrite is 'correct' but if you're right it
> will be emulated by userspace lseek/read and lseek/write calls - which
> must be made atomic somehow.

it is quite trivial to emulate, thanks to dup() creating a new file
pointer..

  dup
  lseek
  read/write
  close

Regards
Henrik

Received on Mon May 15 2006 - 12:51:11 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:04 MDT