cvs commit: src/sys/kern subr_diskslice.c

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jul 4 12:57:43 PDT 2006


dillon      2006/07/04 12:54:08 PDT

DragonFly src repository

  Modified files:
    sys/kern             subr_diskslice.c 
  Log:
  Do not attempt to read the slice table or disk label when accessing a raw
  disk device such as /dev/ad0.  Otherwise a read failure of sector 0 during
  the open will cause the open to fail and prevent the recovery of other
  potentially readable data.
  
  Revision  Changes    Path
  1.20      +8 -0      src/sys/kern/subr_diskslice.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_diskslice.c.diff?r1=1.19&r2=1.20&f=u





More information about the Commits mailing list