Amiga.org
Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: adolescent on June 18, 2004, 06:43:00 AM
-
I don't always have my CD-ROM attached or powered due to desk space, and the fact that I don't use a lot of CDs. What I'd like to do is conditionally mount CD0 only if the device is present.
Anyone?
My setup is A1200, Blizzard SCSI, external SCSI CD-ROM, OS3.9BB2 + CacheCDFS
-
Open CLI, and type "Mount cd0"... :)
-
Hello adolescent,
Do you get error-messages when you don't have your CD-ROM connected? (this would be strange!)
Anyway, you could drag CD0 from your Devs:DOSDrivers dir into Workbench.
In this way CD0 will not be activated untill you doubleclick on the icon in Workbench.
Bye,
Spidey
-
do you have a HD in your setup - just wondered.
I seem to recall something on aminet that said it'd mount the Cd device if it existed or boot as normal if it didnt.
Have a look in the the cdrom dir of aminet.
-
@Orjan
Obviously this works, but it's not "auto" like I asked for.
@Spidey
Yes, I get an error saying the device is not found at bootup if the CD0 device is in DEVS:DOSDrivers. (Note: the CD-ROM drive itself is turned off or disconnected, this is the standard behavior I've seen on all of my Amigas)
@Naeem
I'll go check again. If you remember the name, then post it up here.
-
P**p, I'm at work so I can't check what it is; I have an executable that checks for the presenece of a device; it returns an error code you can check to load the driver or not. Will check when I get home. Used in user-startup.
-
I just found it. Limiting my Aminet search to just the CDROM tree was the problem. The utility I'm using is ExistsSCSIDEV. Works like a charm, will also work with my Zip drive if I choose to hook it up.