cvs commit: src/sys/conf files src/include disktab.h src/lib/libc/gen disklabel.c getdiskbyname.3 src/lib/libstand stand.h src/sbin/disklabel disklabel.8 disklabel.c src/sbin/gpt migrate.c src/sbin/vinum list.c src/sys/boot/efi/libefi ...

Matthew Dillon dillon at
Sun Jun 17 22:14:36 PDT 2007

dillon      2007/06/17 22:13:43 PDT

DragonFly src repository

  Modified files:
    sys/conf             files 
    include              disktab.h 
    lib/libc/gen         disklabel.c getdiskbyname.3 
    lib/libstand         stand.h 
    sbin/disklabel       disklabel.8 disklabel.c 
    sbin/gpt             migrate.c 
    sbin/vinum           list.c 
    sys/boot/efi/libefi  devicename.c 
    sys/boot/ia64/libski devicename.c 
    sys/boot/pc32/boot2  boot2.c 
    sys/boot/pc32/libi386 biosdisk.c devicename.c 
    sys/kern             subr_disklabel32.c subr_diskslice.c 
    sys/sys              disklabel.h disklabel32.h diskslice.h 
  Added files:
    sys/sys              disklabel64.h 
  Removed files:
    sys/sys              ndisklabel.h odisklabel.h 
  Move all the code related to handling the current 32 bit disklabel
  to subr_disklabel32.c.  Move the header file from sys/disklabel.h to
  sys/disklabel32.h.  Rename all the related structures and constants
  and retire 'struct disklabel'.
  Redo the sys/disklabel.h header file to implement a generic disklabel
  abstraction.  Modify kern/subr_diskslice.c to use this abstraction, with
  some shims for the ops dispatch at the moment which will be cleaned up later.
  Adjust all auxillary code that directly accesses 32 bit disklabels to use
  the new structure and constant names.
  Remove the snoop-adjust code.  The kernel would snoop reads and writes to
  the disklabel area via the raw slice device (e.g. ad0s1) and convert the
  disklabel from the in-core format to the on-disk format and vise-versa.
  The reads and writes made by disklabel -r and the kernel's own internal
  readdisklabel and writedisklabel code used the snooping.
  Rearrange the kernel's internal code to manually convert the disklabel when
  reading and writing.  Rearrange the /sbin/disklabel program to do the same
  when the -r option is used.  Have the disklabel program also check which
  DragonFly OS it is running under so it can be run on older systems.  Note
  that the disklabel binary prior to these changes will NOT operate on the
  disklabel properly if running on a NEW kernel.
  Introduce skeleton files for 64 bit disklabel support.
  Revision  Changes    Path
  1.164     +2 -0      src/sys/conf/files
  1.4       +2 -2      src/include/disktab.h
  1.13      +9 -9      src/lib/libc/gen/disklabel.c
  1.4       +2 -2      src/lib/libc/gen/getdiskbyname.3
  1.9       +2 -2      src/lib/libstand/stand.h
  1.14      +18 -0     src/sbin/disklabel/disklabel.8
  1.21      +195 -82   src/sbin/disklabel/disklabel.c
  1.3       +6 -6      src/sbin/gpt/migrate.c
  1.10      +4 -4      src/sbin/vinum/list.c
  1.3       +1 -1      src/sys/boot/efi/libefi/devicename.c
  1.2       +2 -2      src/sys/boot/ia64/libski/devicename.c
  1.16      +5 -5      src/sys/boot/pc32/boot2/boot2.c
  1.12      +11 -11    src/sys/boot/pc32/libi386/biosdisk.c
  1.4       +2 -2      src/sys/boot/pc32/libi386/devicename.c
  1.2       +158 -109  src/sys/kern/subr_disklabel32.c
  1.46      +58 -151   src/sys/kern/subr_diskslice.c
  1.27      +65 -190   src/sys/sys/disklabel.h
  1.27      +25 -44    src/sys/sys/disklabel32.h
  1.21      +5 -3      src/sys/sys/diskslice.h
  1.41      +1 -1      src/sys/sys/param.h

More information about the Commits mailing list