Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 1997 08:24:23 -0700 (PDT)
From:      Joerg Wunsch <joerg@FreeBSD.ORG>
To:        CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit:  src/sys/i386/i386 autoconf.c src/sys/i386/isa mcd.c scd.c wcd.c src/sys/isofs/cd9660 cd9660_vfsops.c iso.h src/sys/conf options src/sys/i386/conf LINT src/sys/i386/isa/matcd matcd.c src/sys/scsi cd.c src/sys/sys cdio.h
Message-ID:  <199705041524.IAA02323@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
joerg       97/05/04 08:24:23

  Modified:    sys/conf  options
               sys/i386/conf  LINT
               sys/i386/i386  autoconf.c
               sys/i386/isa  mcd.c scd.c wcd.c
               sys/i386/isa/matcd  matcd.c
               sys/isofs/cd9660  cd9660_vfsops.c iso.h
               sys/scsi  cd.c
               sys/sys   cdio.h
  Log:
  This mega-commit brings the following:
  
  . It makes cd9660 root f/s working again.
  . It makes CD9660 a new-style option.
  . It adds support to mount an ISO9660 multi-session CD-ROM as the root
    filesystem (the last session actually, but that's what is expected
    behaviour).
  
  Sigh.  The CDIOREADTOCENTRYS did a copyout() of its own, and thus has
  been unusable for me for this work.  Too bad it didn't simply stuff
  the max 100 entries into the struct ioc_read_toc_entry, but relied on
  a user supplied data buffer instead. :-(  I now had to reinvent the
  wheel, and created a CDIOREADTOCENTRY ioctl command that can be used
  in a kernel context.
  
  While doing this, i noticed the following bogosities in existing CD-ROM
  drivers:
  
  wcd:	This driver is likely to be totally bogus when someone tries
  	two succeeding CDIOREADTOCENTRYS (or now CDIOREADTOCENTRY)
  	commands with requesting MSF format, since it apparently
  	operates on an internal table.
  
  scd:	This driver apparently returns just a single TOC entry only for
  	the CDIOREADTOCENTRYS command.
  
  I have only been able to test the CDIOREADTOCENTRY command with the
  cd(4) driver.  I hereby request the respective maintainers of the
  other CD-ROM drivers to verify my code for their driver.  When it
  comes to merging this CD-ROM multisession stuff into RELENG_2_2 i will
  only consider drivers where i've got a confirmation that it actually
  works.
  
  Revision  Changes    Path
  1.30      +13 -1     src/sys/conf/options
  1.330     +8 -1      src/sys/i386/conf/LINT
  1.67      +47 -15    src/sys/i386/i386/autoconf.c
  1.89      +53 -1     src/sys/i386/isa/mcd.c
  1.30      +43 -1     src/sys/i386/isa/scd.c
  1.42      +35 -0     src/sys/i386/isa/wcd.c
  1.26      +76 -2     src/sys/i386/isa/matcd/matcd.c
  1.25      +59 -17    src/sys/isofs/cd9660/cd9660_vfsops.c
  1.14      +2 -2      src/sys/isofs/cd9660/iso.h
  1.83      +58 -1     src/sys/scsi/cd.c
  1.17      +9 -1      src/sys/sys/cdio.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705041524.IAA02323>