DragonFly commits List (threaded) for 2007-05
DragonFly BSD
DragonFly commits List (threaded) for 2007-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/bin/dd dd.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 May 2007 08:53:29 -0700 (PDT)

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@estpak.ee>,
  	     YONETANI Tomokazu <qhwt+dfly@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]