Re: Ever solve eject problem?

From: Eric M. Monsler (emonsler_at_radixtek.com)
Date: 07/29/04

  • Next message: Michael Madden: "Using a memory stick on Debian 3.0"
    Date: Thu, 29 Jul 2004 13:38:36 -0700
    To: Steven Jones <Steven.Jones@vuw.ac.nz>
    
    

    Steven Jones wrote:
    > try fuser, it should show if someone or something is in the directory in question.
    >
    > so man fuser
    >
    > eg
    >
    > [root@vinson etc]# fuser /mnt/ (gives no return)
    > [root@vinson etc]# cd /mnt/
    > [root@vinson mnt]# fuser /mnt/
    > /mnt/: 16337c
    > [root@vinson mnt]# ps aux |grep 16337
    > root 16337 0.0 0.0 4268 1372 pts/0 S 08:19 0:00 -bash
    > root 16408 0.0 0.0 3676 676 pts/0 S 08:25 0:00 grep 16337
    >
    >
    > So this shows "me" as root in a bash shell in /mnt so /mnt cannot be ejected/unmounted while "I" am in there. This should work for where ever the cd is mounted.
    >
    > regards
    >
    > S

    That was it! Some gpdf processes hanging around in there, despite
    having closed the window with the documents.

    Thanks!

    Eric

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Michael Madden: "Using a memory stick on Debian 3.0"

    Relevant Pages

    • Re: Ports in use
      ... Kalle wrote: ... Sounds like netstat and fuser are what you are looking for. ... best regards ...
      (comp.os.linux.misc)
    • RE: Cant eject CD
      ... do a fuser on the cdrive look for the process that "holds" it and stop/kill it. ... aka thing ... Subject: Can't eject CD ...
      (Debian-User)
    • Re: dell + drive door wont respond
      ... >> How can you track down what process has locked the CD Rom ... >>drive, when you have nothing opened showing its contents, nor a VT cd'ed ... >What I would use is the fuser command in /sbin. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • fuser and sockets?
      ... fuser seems to be misbehaving for me. ... UNIX sockets. ... I wrote the following little script to illustrate my ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Fuser equivalent
      ... Is there a BSD equivalent of the Linux "fuser" command? ... fuser is used to identify processes using files/sockets. ... To unsubscribe, ...
      (freebsd-questions)