Re: umount
-----BEGIN PGP SIGNED MESSAGE-----
On 15 Nov 1999, Ian Zimmerman wrote:
> >>>>> "Dave" == Dave Wiard <dave@lister.acm.wwu.edu> writes:
>
> Dave> is there any way to force umount to unconditionally unmount a drive? one
> Dave> of my cd drives is constantly touted as 'busy' when i know there's zero
> Dave> activity, so it refuses to unmount and hence i cannot eject. any help
> Dave> would be apreciated.
>
> Well, what do you mean by "activity"? There's a couple of reasons why
> the kernel can consider a mount point busy. An obvious one is that a
> process has a directory on the CD as its cwd. That could be a daemon
> or a zombie, so you need not know about it. Maybe you should look in
> the /proc hierarchy for clue the next time it happens.
You can use the fuser command to determine which processes are using the
device. This command should work, replacing /mnt/cdrom with the actual
mountpoint:
fuser -vm /mnt/cdrom
- --
finger for PGP public key.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
iQCVAwUBODDa8r7M/9WKZLW5AQHYHgQAjzwz1l35EKRcpJu18COtUdTfIaGAL7aJ
nz43g9LxA9aVpxXBH/Hmlqc/cfvsWFG6tCRtUUNWw+KIWB2huP/opiSq2pib3gB1
/AIXI0KsPRQCBufS9XRWWNNiQR33PxE38/e7j0klQ9DGWppk2WT7bNfJxdkVO/b/
CUn+EOMGbpI=
=KBnT
-----END PGP SIGNATURE-----
Reply to: