25 Feb
2003
25 Feb
'03
19:48
The 03.02.14 at 20:15, Dylan wrote:
Next time it happens, use lsof (see man lsof to find out how) to see if there are any processes holding open files on the drive.
try lsof /media to tell you all the open files under that directory...
That doesn't work; look: cer@nimrodel:~> lsof /dvd cer@nimrodel:~> lsof /media/ cer@nimrodel:~> lsof /media/dvd cer@nimrodel:~> lsof |grep dvd cer@nimrodel:~> umount /dvd umount: /media/dvd: device is busy I simply have an xterm where mc is displaying the contens of the dvd, without really opening a file. Ie: a process or shell or whatever has /dvd/something as its current path (pwd). -- Cheers, Carlos Robinson