*BSD News Article 48472


Return to BSD News archive

Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!dispatch.news.demon.net!demon!palmer.demon.co.uk!palmer.demon.co.uk!not-for-mail
From: gary@palmer.demon.co.uk (Gary Palmer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to eject CDROM?
Date: 13 Aug 1995 19:10:11 +0100
Organization: none
Lines: 18
Message-ID: <40lf63$4sk@palmer.demon.co.uk>
References: <40itj5$3uk@ftp.netgate.net>
X-NNTP-Posting-Host: palmer.demon.co.uk

In article <40itj5$3uk@ftp.netgate.net>,  <awu@ftp.netgate.net> wrote:
>Sorry if this sound silly, but how to eject a CDROM from CDROM drive? I 
>couldn't find a command to do so, and the eject button on the drive panel 
>doesn't work, either. The eject button does work under OS/2 and DOS, so is
>there any problem with the setup. The drive is a Toshiba XM-3401B attached
>to Adaptec AHA-1742A. I have no problem to access the content of CDROM,
>though. TIA.

FreeBSD locks the disk in the drive when it is mounted. Unmount the
CDROM, the system will unlock the drawer and you can eject the disk.

umount /dev/cd0a

should work for you.

Gary