[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: removeing devices
James Cox writes:
> I have a small program that installs a device as part of its initialisation.
> Upon termination of the program I would like to remove this device. I found
> that deleting the device from the u:\dev directory appears to remove the
> device, but what happens internally - ie: is this safe?
Look at your devices open counter, if its zero it should be, otherwise not.
or look at the ttyvdev source, it faced the same problem.
(hint: go single user and back...)
>
> In gthe mean time, I can put the device into an XDD file and just never remove
> it, but that's not quite as nice.
you mean this is not billyboys kludge city? :)
>
> Cheers,
>
> James.
have fun
Juergen