Date: Wed, 13 Oct 2004 17:05:36 -0700 From: Randy Grafton <rgrafton@indatacorp.com> To: Mike Jeays <Mike.Jeays@rogers.com> Cc: freebsd-questions@freebsd.org Subject: Re: Unable to umount Cdrom drive. Message-ID: <416DC2D0.1000008@indatacorp.com> In-Reply-To: <1097711419.30508.138.camel@chaucer> References: <1097691732.126E39B5@j29.dngr.org> <1097711419.30508.138.camel@chaucer>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Jeays wrote: >On Wed, 2004-10-13 at 14:22, Laszlo Antal wrote: > > >>Hi, >> >>I have FreeBSD 4.10 installed. >>When I mount the cdrom with #mount -t cd9660 /dev/acd0c /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?? >> >>Thank you for all the help. >> >>Laszlo >> >> >>--lantal >>_______________________________________________ >>freebsd-questions@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> >> > >I use a script "eject", as follows. It CDs back to my home directory, >and then ejects the CD. Lazy but effective. > > >#!/bin/sh >cd $HOME >umount /cdrom >cdcontrol -f /dev/acd0c eject > > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > Most of the time this message pops up because either you are in the /cdrom (mounted) directory or a file form that directory is still in use. The 'eject' script is a pretty good idea. -Randy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?416DC2D0.1000008>