cvs commit: src/bin/dd dd.c

Matthew Dillon dillon at crater.dragonflybsd.org
Mon May 21 08:54:38 PDT 2007


dillon      2007/05/21 08:53:29 PDT

DragonFly src repository

  Modified files:
    bin/dd               dd.c 
  Log:
  Remove DIOCWLABEL operation.  Doing it destroyed the purpose of having
  write protected areas in the first place.  This also solves an issue
  bootstrapping from older versions of DragonFly since the ioctl has moved
  to a different header file.
  
  Users can write-enable the label area with disklabel -W/-N if the issue
  comes up.
  
  Note: In DragonFly 1.9 and later, the MBR and disklabel areas are only
  write protected when accessed via a slice or partition.  Access to these
  areas via the raw disk (e.g. ad0) is no long write-protected.
  
  Reported-by: Hasso Tepper <hasso at estpak.ee>,
  	     YONETANI Tomokazu <qhwt+dfly at les.ath.cx>
  
  Revision  Changes    Path
  1.8       +1 -8      src/bin/dd/dd.c


http://www.dragonflybsd.org/cvsweb/src/bin/dd/dd.c.diff?r1=1.7&r2=1.8&f=u





More information about the Commits mailing list