From owner-freebsd-questions Fri May 12 23:57:53 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id XAA04668 for questions-outgoing; Fri, 12 May 1995 23:57:53 -0700 Received: from easynet.com (easyr.easynet.net [198.67.38.6]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id XAA04661 for ; Fri, 12 May 1995 23:57:50 -0700 Received: by easynet.com (Smail3.1.28.1 #7) id m0sAAtE-000rdTC; Fri, 12 May 95 23:41 WET DST Message-Id: From: brian@mediacity.com (Brian Litzinger) Subject: Long Sector Reads? To: freebsd-questions@FreeBSD.org Date: Fri, 12 May 1995 23:41:28 -0700 (PDT) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 683 Sender: questions-owner@FreeBSD.org Precedence: bulk I'd like to read Mode 2 Form 2 sectors from a CDROM under FreeBSD. Any ideas on how I might do this? What are Mode 2 Form 2 sectors you ask? On the regular ole CDROM, sectors are made of 2048 data bytes and around 233 bytes of EEC data. Mode 2 Form 2 sectors don't have an EEC section. The entire 2048+233 bytes form a single 2263 or so byte sector. These Mode 2 Form 2 sectors can be read via MSDOS'es mscdex READLONG call on CDROM drives which are capable of reading Mode 2 Form 2 sectors. What I am looking for is some direction on how I might go about reading these Mode 2 Form 2 sectors via the FreeBSD SCSI device drivers. Thanks, Brian Litzinger brian@easynet.com