[Disksim-users] patch: DISKSIM_PATH ...
Michael Meeks
michael.meeks at novell.com
Mon Aug 6 05:45:11 EDT 2007
Hi guys,
Since I'm embedding disksim as a shared library for (hopefully)
user-friendly application, there are several changes necessary. Perhaps
the simplest & most useful is attached. Instead of just looking for
files in the CWD, use a DISKSIM_PATH environment variable to try harder.
I also managed to answer my question wrt:
disksim->tracepipes[0] = 8;
disksim->tracepipes[1] = 9;
'8' is the first free file descriptor you get to after fopen-ing (and
never closing) the configuration files ;->
I also, rather want to turn off all logging to files; would a patch be
accepted to use 'NULL' to signify no file output etc.
Regards,
Michael.
--
michael.meeks at novell.com <><, Pseudo Engineer, itinerant idiot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disksim-path.diff
Type: text/x-patch
Size: 3994 bytes
Desc: not available
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20070806/c08fe5fd/attachment.bin>
More information about the Disksim-users
mailing list