From owner-freebsd-questions@FreeBSD.ORG Wed Oct 13 18:29:39 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F5EB16A4CE for ; Wed, 13 Oct 2004 18:29:39 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A571F43D5C for ; Wed, 13 Oct 2004 18:29:37 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i9DITQbj043476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Oct 2004 19:29:26 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i9DITQtP043475; Wed, 13 Oct 2004 19:29:26 +0100 (BST) (envelope-from matthew) Date: Wed, 13 Oct 2004 19:29:26 +0100 From: Matthew Seaman To: Laszlo Antal Message-ID: <20041013182926.GA43208@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Laszlo Antal , freebsd-questions@freebsd.org References: <1097691732.126E39B5@j29.dngr.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline In-Reply-To: <1097691732.126E39B5@j29.dngr.org> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Wed, 13 Oct 2004 19:29:26 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Unable to umount Cdrom drive. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2004 18:29:39 -0000 --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--