From owner-freebsd-hackers Fri Jul 4 22:51:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA23318 for hackers-outgoing; Fri, 4 Jul 1997 22:51:38 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id WAA23311 for ; Fri, 4 Jul 1997 22:51:35 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id HAA05833; Sat, 5 Jul 1997 07:51:33 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id HAA21105; Sat, 5 Jul 1997 07:34:20 +0200 (MET DST) Message-ID: <19970705073420.IP50835@uriah.heep.sax.de> Date: Sat, 5 Jul 1997 07:34:20 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@freebsd.org (FreeBSD hackers) Cc: paulz@trantor.stuyts.nl (Paul van der Zwan) Subject: Re: Probing cdrom for presence of disk References: <199707041702.TAA00468@trantor.stuyts.nl> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: ; from Julian Elischer on Jul 4, 1997 11:03:32 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Julian Elischer wrote: > Workman does it.. > see what they do.. > I believe they use a direct SCSI command via the user-scsi facility. On an ATAPI drive? Glad they don't do it this way. However, they don't do it the way Paul wants it to be done, workman's probing causes blatant SCSI error messages (not ready, medium not present). Perhaps we should implement an open(O_NONBLOCK) in the SCSI subsystem? -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)