From: Stef B. <st...@gm...> - 2010-01-17 22:23:46
|
Hello, I'm looking at the unmounting of a resource, like a smb share. When a session ends for a user, I want the session to be closed. Now, when you look at how this is done in for example how the script netfs does a simular job, it tries to shutdown every app using the mounpoints by sending it a sigterm signal, and later, if that does not work, a kill signal. This will shutdown the app. Isn't there a call to the app to make it unlock only the file it's using. Then it's not necessary to kill the app, the app. Maybe you say, well the session is ended anyway, so it's ok to kill all apps part of the session. Ok, point, but still, imho killing a app just because it's using a file. I know this is off topic, but I do not know another list to mail it. Stef |