tickling gam_server to make it let go of a file?

Magnus Therning magnus at therning.org
Thu Aug 18 22:25:09 UTC 2005


On Thu, Aug 18, 2005 at 12:11:25PM -0400, Ed Fletcher wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Magnus Therning wrote:
>> I know this has been up on the list recently, but I can't remember
>> seeing any mentions on how to do this:
>> 
>> I use Nautilus to browse a USB disk that's mounted automatically. When I
>> try to unmount the disk I'm told it's in use and can't be unmounted.
>> Using 'lsof' I verify that it's gam_server that's holding a file open on
>> the device...
>> 
>> Now, how do I get gam_server to release the file?
>> 
>> I sent it a HUP, which seemed to work, but I'm not sure it's the "right
>> way". Since gam_server lacks a man page (another bug I suppose :-) I
>> don't really know where to turn to find out.
>> 
>> /M
>> 
>> 
>
>Yep, this has been on the list recently.  (Or something quite similar.)
>
>http://ubuntuforums.org/showthread.php?t=56965&highlight=unmount+cdrom
>
>I think that gam_server is using the disk because the disk has not been
>unmounted.  Does the unmount fail saying that the device is in use?  If
>so, see if nautilus has a window open that is still showing the
>contents of the usb disk.  Or a terminal window open with the disk in
>the current directory.

There are no open Nautilus windows. No processes except gam_server have
any files open on the USB device. Chosing "Unmount" from menu that pops
up when right clicking on the desktop icon results in a message about it
being in use...

How do I tickle gam_server so that it closes the files?

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Feistel and Coppersmith rule. Sixteen rounds and one hell of an
avalanche.
      -- Stephan Eisvogel in de.comp.security
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050818/e4df364c/attachment.sig>


More information about the ubuntu-users mailing list