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.

Stef
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to