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

cvs commit: src/sys/kern kern_shutdown.c kern_uuid.c subr_disk.c subr_diskmbr.c subr_diskslice.c src/sys/sys diskmbr.h diskslice.h gpt.h uuid.h src/sbin/diskinfo diskinfo.c src/sbin/disklabel disklabel.c src/sys/dev/disk/ccd ccd.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Jun 2007 20:51:14 -0700 (PDT)

dillon      2007/06/16 20:51:14 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_shutdown.c kern_uuid.c subr_disk.c 
                         subr_diskmbr.c subr_diskslice.c 
    sys/sys              diskmbr.h diskslice.h gpt.h uuid.h 
    sbin/diskinfo        diskinfo.c 
    sbin/disklabel       disklabel.c 
    sys/dev/disk/ccd     ccd.c 
  Log:
  Implement (non-bootable) GPT support.  If a PMBR partition type is detected
  the rest of the MBR is ignored and the GPT partition table will be parsed
  into slices.  GPT partition 0 will be s0, GPT partition 1 will be s1, etc.
  Bootable support is forthcoming.
  
  Remove support for COMPATIBILITY_SLICE when a MBR/GPT table is present.  That
  is, the COMPATIBILITY_SLICE (s0) will still point to the dangerously
  dedicated disklabel or be synthesized for a CD, but it will no longer point
  to the 'first BSD slice' in a real MBR or GPT table.  For GPT tables
  slice 0 (s0) will point at GPT partition #0, slice 1 (s1) at
  GPT partition #1, etc.
  
  Redo the reserved sector handling code.  There is now a single reserved
  sector count instead of separate fields for the slice layer and disklabel
  layer.
  
  Redo the disklabel snooping code.  Note that you cannot run an old
  /sbin/disklabel in raw (-r) mode with a new OS because the old disklabel
  will not turn on snooping.  For now the on-disk format remains the same,
  but more changes may be forthcoming (after discussion).  I would like to
  get rid of the snooping entirely.
  
  Add kuuid_is_nil() and use it to ignore unset GPT paritions.
  
  Revision  Changes    Path
  1.57      +1 -1      src/sys/kern/kern_shutdown.c
  1.3       +15 -0     src/sys/kern/kern_uuid.c
  1.36      +1 -1      src/sys/kern/subr_disk.c
  1.25      +16 -7     src/sys/kern/subr_diskmbr.c
  1.43      +105 -118  src/sys/kern/subr_diskslice.c
  1.4       +6 -0      src/sys/sys/diskmbr.h
  1.19      +15 -28    src/sys/sys/diskslice.h
  1.2       +1 -0      src/sys/sys/gpt.h
  1.3       +1 -1      src/sys/sys/uuid.h
  1.3       +2 -3      src/sbin/diskinfo/diskinfo.c
  1.19      +23 -7     src/sbin/disklabel/disklabel.c
  1.45      +3 -3      src/sys/dev/disk/ccd/ccd.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_shutdown.c.diff?r1=1.56&r2=1.57&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_uuid.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_disk.c.diff?r1=1.35&r2=1.36&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_diskmbr.c.diff?r1=1.24&r2=1.25&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_diskslice.c.diff?r1=1.42&r2=1.43&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/diskmbr.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/diskslice.h.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/gpt.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/uuid.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/diskinfo/diskinfo.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/disklabel/disklabel.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/ccd/ccd.c.diff?r1=1.44&r2=1.45&f=u



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