Date: Wed, 13 Oct 2004 19:29:26 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Laszlo Antal <lantal@tmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Unable to umount Cdrom drive. Message-ID: <20041013182926.GA43208@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <1097691732.126E39B5@j29.dngr.org> References: <1097691732.126E39B5@j29.dngr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 13, 2004 at 11:22:12AM -0700, Laszlo Antal wrote: > When I mount the cdrom with #mount -t cd9660 /dev/acd0c /cdrom Verb. Sap. Make that: # mount -t cd9660 -o ro /dev/acd0c /cdrom For best results, set up all of the options etc. in /etc/fstab, and then just use: # mount /cdrom > everything works fine.I can get to my ports and everything > But when I want to swap cds and I type #umount /cdrom > I get this error message:: Unable to umount /cdrom, Device is busy. > If I do the umont from KDE I get the same error message. > What I'm doing wrong?? You've either got a process with it's current working directory somewhere under /cdrom, or you've got a process with an open file descriptor (or a memory map) on one of the files on the CD. Try using: # fstat -f /cdrom to see if you can identify the culprits. Then either close them down, or CD to elsewhere in the filesystem if it's an interactive session. Once the CD Rom is idle, you should be able to dismount it easily. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBbXQGiD657aJF7eIRAqTNAJ0ar9CLnQ2H2gBaPGA5aS1RribEaQCcDMxu zH7quGyqzVn4wTTmzxD9680= =KBfs -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041013182926.GA43208>