*BSD News Article 46275


Return to BSD News archive

#! rnews 1964 sserve.cc.adfa.oz.au
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!uunet!in1.uu.net!anshar.shadow.net!anshar.shadow.net!nobody
From: dwhite@anshar.shadow.net (Don Whiteside)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: CD-ROM & Zip Drive won't eject
Date: 30 Jun 1995 13:36:48 -0400
Organization: Shadow Information Services, Inc.
Lines: 26
Message-ID: <3t1cng$am8@anshar.shadow.net>
References: <3sv1d9$duh@ecl.wustl.edu>
NNTP-Posting-Host: anshar.shadow.net
X-Newsreader: TIN [version 1.2 PL2]

Brian L Gottlieb (brian@beru.wustl.edu) wrote:
: I installed the 2.0.5R of FreeBSD a couple of weeks ago, and after
: getting basic stuff going (X, ppp, etc), I've moved on to my hardware.

: I have a Toshiba SCSI CD-ROM (3601, successor to 3501), and I have a
: DOS CD in there (Dark Forces in case you're wondering).  I can get a
: directory of it using ls, and my drive gets recognized on boot, but
: the eject button on the drive doesn't open it up.  Similarly, my Zip
: drive won't eject its contents.  

CD ROM drives have a LOCK state to prevent the eject button from working. 
(Well, they do if they have a non-mechanical eject mechanism, usually)
If you take the disc out while it's still mounted, you risk anything 
from a minor barf to something much uglier if you then try to access it. I 
don't know for sure, but I'd suspect that umount-ing the directory the 
disc is mounted on will toggle the lock state. umount /cdrom-directory 
should do the job.

--
=========================================================================
 Donald Alan Whiteside     MDCC Wage Slave     School of Computer Science
         Official Usenet Dork for the week of Jan 9-13, 1995
      GCS d-- -p+(---) l u+(-) e+ m+ s !n h f g+ w+ t+(++) r- y++ 
          "The universe is not in the habit of giving up 
       explanations to cursory examinations" - Garth Thornton 
=========================================================================