From owner-cvs-sys Wed Feb 22 13:52:19 1995 Return-Path: cvs-sys-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA05298 for cvs-sys-outgoing; Wed, 22 Feb 1995 13:52:19 -0800 Received: (from bde@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA05284; Wed, 22 Feb 1995 13:52:04 -0800 Date: Wed, 22 Feb 1995 13:52:04 -0800 From: Bruce Evans Message-Id: <199502222152.NAA05284@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern subr_diskslice.c Sender: cvs-sys-owner@freebsd.org Precedence: bulk bde 95/02/22 13:52:01 Modified: sys/kern subr_diskslice.c Log: Fix initialization of the copy of the label passed to setdisklabel(). Fix the sign of the adjustment after writing a label. Writing of labels should work now. Merge adjust_label() into fixlabel(). Detect more errors and don't write if there is an error. Adjust sectors/unit and total sectors to the numbers on the slice. Add a function dsname() to print slice device names consistently, and use it.