Is it possible to make seek() operations on a named pipe return successful?
Seekable pipes have been proposed for the Linux kernel, but I'm not aware of a working patch to implement them.
You could use an LD_PRELOAD
'ed library that overrides the lseek
call on specific files. I don't know of any off-the-shelf wrapper for this purpose. Shadowfs might help in writing one.