Yair K. wrote:
> Hi,
>
>   This patch adds a "force" option to soundoff. This option means that 
> soundoff will force unload the modules (even if e.g. another program is using 
> them). This change is done to Linux and FreeBSD (untested) platforms. Solaris 
> doesn't have a soundoff, and SCO doesn't appear to have a force unload 
> method.
>   
Unfortunately this patch is far too dangerous. Removing a module that is 
in use by some application will crash the system.

In OSS 3.99.x we used to have -f option in soundoff that automatically 
kills all applications using OSS. However even this is too dangerous 
because lazy system admin may accidently kill applications that should 
not be killed. It's better that the applications need to be killed 
manually before running soundoff again.

Btw, I applied your previous two patches for ossplay.

Best regards,

Hannu
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to