Unable to umount Cdrom drive.

Mike Jeays Mike.Jeays at rogers.com
Wed Oct 13 16:50:21 PDT 2004


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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





More information about the freebsd-questions mailing list