Re: Unable to Unmount Flash Drive



This will show all programs that have files open under any directory:

/usr/sbin/lsof | grep <mountpoint>

Your <mountpoint> is probably /media/usbdisk

Volker

PS: Please avoid excessive crossposting.

On Sun, 31 Dec 2006 09:41:11 -0800, John Serafin wrote:
Error
Cannot unmount volume
Some process has its current working directory on the flash drive or
some application has a file on the flash drive open.


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



Relevant Pages

  • realpath in PS1 bash
    ... and make it a suggestion in /etc/skel/.bashrc for those users who want ... to see the actual current working directory. ... It won't be very helpful with more sophisticated symlink race ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: working directory
    ... The Natural Philosopher wrote: ... I can't unmount the volume. ... to move the working directory of the process to another directory? ... Get another, pop it in, use cpio or tar to ...
    (comp.os.linux.setup)
  • Re: working directory
    ... I can't unmount the volume. ... to move the working directory of the process to another directory? ... chewing on a huge dataset. ... or 'cp -a' the contents of your first device to the second device, ...
    (comp.os.linux.setup)
  • Re: working directory
    ... jackassplus wrote: ... I can't unmount the volume. ... to move the working directory of the process to another directory? ... I suspect you are cattled. ...
    (comp.os.linux.setup)
  • Re: Running a program at system startup
    ... with a certain directory as the working directory. ... but how about using cron and crontab for user fox? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)