<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4630.0">
<TITLE>Prevent notifd from creating channel and factory IOR files</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I try to prevent notifd from creating files that contains IOR of channel Factory and channel object.</FONT>
<BR><FONT SIZE=2 FACE="Arial">I did many trys by setting the following variable from the notifd.cfg file:</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Arial">FactoryIORFileName </FONT></B>
<BR><B><FONT SIZE=2 FACE="Arial">ChannelIORFileName </FONT></B>
</P>
<P><B><FONT SIZE=2 FACE="Arial">1) I tried stderr</FONT></B>
<BR><FONT SIZE=2 FACE="Arial">FactoryIORFileName stderr</FONT>
<BR><FONT SIZE=2 FACE="Arial">ChannelIORFileName stderr</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">It doesn't work since, it creates a real file nammed "stderr" !</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Arial">2) I tried /dev/null</FONT></B>
<BR><FONT SIZE=2 FACE="Arial">FactoryIORFileName /dev/null</FONT>
<BR><FONT SIZE=2 FACE="Arial">ChannelIORFileName /dev/null</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">It seems to work but in fact it recreates a "/dev/null" ascii file and overwrite the /dev/null system symlink (on solaris2-8).</FONT></P>
<P><FONT SIZE=2 FACE="Arial">And when notifd is shutdown, it deletes "/dev/null" file… leaving the system without /dev/null symlink… </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">The code that writes this file is in <OMNINOTIFY_TOP>/lib/RDINotifServer.cc. It is part of the COSNotify4 lib.</FONT>
</P>
<P><B><FONT SIZE=2 FACE="Arial">Is there a solution without modifying this file ?</FONT></B>
</P>
<P><FONT SIZE=2 FACE="Arial">Many thanks</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">FredP</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Courier New"> (</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> </FONT><B></B><B> <FONT FACE="Courier New">Frédéric Prin</FONT></B><FONT SIZE=2 FACE="Courier New"> )</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> Senior Software Engineer /</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> S I L V A C O (</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> Grenoble REsearch CEnter \</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> Tel 04 56 38 10 33 )</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> __________________________/___</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> /__/__/__/__/__/__/__/__/__/__/</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> /__/__/__/__/__/__/__/__/_____/</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> /__/__/__/__/__/__/__/__/__/__/</FONT>
</P>
</BODY>
</HTML>