cvs commit: src/sys/amd64/include bootinfo.h src/sys/i386/include bootinfo.h src/sys/sys disklabel.h diskslice.h src/sbin/disklabel disklabel.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Mar 3 17:38:52 PST 2004


dillon      2004/03/03 17:38:01 PST

DragonFly src repository

  Modified files:
    sys/amd64/include    bootinfo.h 
    sys/i386/include     bootinfo.h 
    sys/sys              disklabel.h diskslice.h 
    sbin/disklabel       disklabel.c 
  Log:
  Partitions>8: Increase the number of supported partitions from 8 to 16.
  Decrease the number of supported slices from 32 to 16.  Note that the
  5.x boot2 code, which we adopted, was being installed just after the old
  disklabel.  This commit moves the boot code install to the next logical
  sector (aka 4.x) in order to accomodate the larger label.
  
  Fix newfs to not hardcode 'h' as the last partition.
  
  Also modify 'disklabel' to not complain about preexisting garbage past
  partition #8, and to detect and refuse to overwrite the old bootcode
  with the new larger label until after you have installed new boot code.
  
  Revision  Changes    Path
  1.2       +1 -1      src/sys/amd64/include/bootinfo.h
  1.4       +1 -1      src/sys/i386/include/bootinfo.h
  1.5       +19 -7     src/sys/sys/disklabel.h
  1.4       +3 -3      src/sys/sys/diskslice.h
  1.5       +31 -1     src/sbin/disklabel/disklabel.c


http://www.dragonflybsd.org/cvsweb/src/sys/amd64/include/bootinfo.h.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/i386/include/bootinfo.h.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/disklabel.h.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/diskslice.h.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sbin/disklabel/disklabel.c.diff?r1=1.4&r2=1.5&f=h





More information about the Commits mailing list