DragonFly commits List (threaded) for 2007-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
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 ...
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
param.h
Added files:
sys/sys disklabel64.h
Removed files:
sys/sys ndisklabel.h odisklabel.h
Log:
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
http://www.dragonflybsd.org/cvsweb/src/sys/conf/files.diff?r1=1.163&r2=1.164&f=u
http://www.dragonflybsd.org/cvsweb/src/include/disktab.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/disklabel.c.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/getdiskbyname.3.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libstand/stand.h.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/disklabel/disklabel.8.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/disklabel/disklabel.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/gpt/migrate.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sbin/vinum/list.c.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/boot/efi/libefi/devicename.c.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/boot/ia64/libski/devicename.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/boot/pc32/boot2/boot2.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/boot/pc32/libi386/biosdisk.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/boot/pc32/libi386/devicename.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_disklabel32.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_diskslice.c.diff?r1=1.45&r2=1.46&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/disklabel.h.diff?r1=1.26&r2=1.27&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/disklabel32.h.diff?r1=1.26&r2=1.27&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/diskslice.h.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/param.h.diff?r1=1.40&r2=1.41&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]