cvs commit: src/sys/dev/disk/ata ata-disk.c atapi-cd.c src/sys/kern subr_diskmbr.c subr_diskslice.c src/sys/sys disk.h src/etc MAKEDEV

Matthew Dillon dillon at crater.dragonflybsd.org
Fri May 18 19:39:56 PDT 2007


dillon      2007/05/18 19:39:05 PDT

DragonFly src repository

  Modified files:
    sys/dev/disk/ata     ata-disk.c atapi-cd.c 
    sys/kern             subr_diskmbr.c subr_diskslice.c 
    sys/sys              disk.h 
    etc                  MAKEDEV 
  Log:
  Implement raw extensions for WHOLE_DISK_SLICE device accesses for acd0.
  Disallow special accesses on devices that do not support the extensions.
  
  Implement direct track reading via /dev/acd0 or /dev/acd0t* (use
  MAKEDEV acd0t to create per-track devices).
  
  Fix a few bugs with the minor device numbers generated by MAKEDEV for
  /dev/acd*.  /dev/acd0a and /dev/acd0c were improperly specifying the
  WHOLE_DISK_SLICE instead of the compatibility slice.
  
  Change all mountroot operations that were trying to access disks via
  RAW_PART to instead access them via WHOLE_SLICE_PART (removing more
  dependancies on the old disklabel structure).
  
  Replace the unconditional sector sanity check in dsopen() with better
  sanity checks in dscheck().  The checks are not made for special
  WHOLE_DISK_SLICE accesses, allowing weird sector sizes to feed through to
  the device.
  
  Revision  Changes    Path
  1.36      +2 -1      src/sys/dev/disk/ata/ata-disk.c
  1.34      +21 -7     src/sys/dev/disk/ata/atapi-cd.c
  1.23      +9 -7      src/sys/kern/subr_diskmbr.c
  1.36      +83 -25    src/sys/kern/subr_diskslice.c
  1.16      +1 -0      src/sys/sys/disk.h
  1.30      +2 -2      src/etc/MAKEDEV


http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/ata-disk.c.diff?r1=1.35&r2=1.36&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ata/atapi-cd.c.diff?r1=1.33&r2=1.34&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_diskmbr.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_diskslice.c.diff?r1=1.35&r2=1.36&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/disk.h.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/etc/MAKEDEV.diff?r1=1.29&r2=1.30&f=u





More information about the Commits mailing list