Date: Fri, 4 Jul 1997 11:03:32 -0700 (PDT) From: Julian Elischer <julian@whistle.com> To: Paul van der Zwan <paulz@trantor.stuyts.nl> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Probing cdrom for presence of disk Message-ID: <Pine.BSF.3.95.970704110229.28166A-100000@current1.whistle.com> In-Reply-To: <199707041702.TAA00468@trantor.stuyts.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Workman does it.. see what they do.. I believe they use a direct SCSI command via the user-scsi facility. On Fri, 4 Jul 1997, Paul van der Zwan wrote: > Is there a way to probe a cdrom drive for the presence of a disk without > getting any messages on the console? I am trying to write some software to > automatically mount a cd if it is inserted in the drive, but filling the > console with errors is not something I want to happen. > > Paul > > -- > Paul van der Zwan paulz @ trantor.stuyts.nl > "I think I'll move to theory, everything works in theory..." > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970704110229.28166A-100000>