<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 22/05/16 02:56, John Bauer wrote:<br>
</div>
<blockquote
cite="mid:9ebe9f4c-d5a2-4c93-4f00-49029850cbbe@iodoctors.com"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<p>Oleg</p>
<p>I can intercept the fopen(), but that does me no good as I
can't set the O_LOV_DELAY_CREATE bit. What I can not intercept
is the open() downstream of fopen(). If one examines the
symbols in libc you will see there are no unsatisfied externals
relating to open, which means there is nothing for the runtime
linker to find concerning open's. I will have a look at the
Lustre 1.8 source, but I seriously doubt that the open beneath
fopen() was intercepted with LD_PRELOAD. I would love to find a
way to do that. I could throw away a lot of code. Thanks, John<br>
</p>
</blockquote>
<br>
Could you not intercept fopen() and implement it with calls to
open() and fdopen() yourself which would give you full control over
what you're looking for here?<br>
<br>
Ashley.<br>
</body>
</html>