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 
  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
  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


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