Subject: Re: Linux's pread(), pwrite(), getcwd() present ?
To: Jaromir Dolecek <>
From: Jason Thorpe <>
List: tech-kern
Date: 03/17/1999 10:02:08
On Wed, 17 Mar 1999 17:26:28 +0100 (MET) 
 Jaromir Dolecek <> wrote:

 > Those system calls are listed in compat/linux/i386/syscalls.master,
 > but I can't find a mention about them on any from two Linux
 > systems I have handy -- RH 5.1 and the second is some Debian system. 
 > Are they really so new ?  From what I can read in getcwd() manpage
 > on those systems, it's still seems to be implemented in libc and not
 > as a system call ...
 > What am I missing ?

Bill Sommerfeld is nearly ready to commit a kernel getcwd(), which has
performance improvements as well as the possibility of Linux emulation :-)

 > As a side note -- pread() and pwrite() are marked as UNIMPL, implementing
 > them would be just a matter of writing sys_p*{read|write}() on appropriate
 > place. I can even do that and send-pr it ...

Yes, please do.

Just to make sure: do the Linux calls use 64-bit off_t like ours?

        -- Jason R. Thorpe <>