On Fri, Feb 15, 2002 at 07:35:39PM -0800, Terry Lambert wrote: > I saw your message. It wasn't clear to me that you were > simply exiting in the test, instead of actually closing > the descriptor. I suspect that vmware just exits, and > expects a resource tracking close on exit to free the > reference count. If the Linux ABI code has not been > updated with all the necessary hand waving (old code was > OK, new code is broke ::= that's what's happening), then > that could easily cause the problem, whereas a test case > that does all the right manual shutdown would not have a > problem.
I think there's something else going on. You can hold open a vmnet device by the simple expedient of "cat /dev/vmnet0" and when I tested with a Linux cat and killed it with a "kill -9" it closed the descriptor properly. Some things I haven't tried, but though might have an effect were using fork or linux threads to create multiple refrences to the device and then closing them oddly. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
Description: PGP signature