CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2011/06/02 11:00:24
Modified files: sbin/disklabel : disklabel.c Log message: Hack to ensure that the in-core labels contain the current bounds info from the physical disk after 'disklabel -e' writes the label to disk. Saves having to reboot or do other contortions to initialize these fields. Toss in same treatment for total sectors so all fields forcibly set by kernel have current values. 0'ing of the bounds noted by matthew@. 'lovely' deraadt@