From owner-cvs-all@FreeBSD.ORG Sun Sep 7 14:15:20 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF0EE106564A; Sun, 7 Sep 2008 14:15:20 +0000 (UTC) (envelope-from lulf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 970DE8FC15; Sun, 7 Sep 2008 14:15:20 +0000 (UTC) (envelope-from lulf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m87EFKjb064442; Sun, 7 Sep 2008 14:15:20 GMT (envelope-from lulf@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m87EFKPT064432; Sun, 7 Sep 2008 14:15:20 GMT (envelope-from lulf@repoman.freebsd.org) Message-Id: <200809071415.m87EFKPT064432@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to lulf@repoman.freebsd.org using -f From: Ulf Lilleengen Date: Sun, 7 Sep 2008 13:58:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/fdisk fdisk.c src/usr.sbin/boot0cfg boot0cfg.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2008 14:15:20 -0000 lulf 2008-09-07 13:58:35 UTC FreeBSD src repository Modified files: sbin/fdisk fdisk.c usr.sbin/boot0cfg boot0cfg.c Log: SVN rev 182844 on 2008-09-07 13:58:35Z by lulf - Make use of the new and g_device_path utility function in libgeom to avoid duplication of code in fdisk and boot0cfg. Also make use of g_providername to fix an issue with fdisk and boot0cfg not using the correct provider when writing the MBR. Reviewed by: phk Approved by: pjd (mentor) Revision Changes Path 1.86 +31 -50 src/sbin/fdisk/fdisk.c 1.21 +23 -33 src/usr.sbin/boot0cfg/boot0cfg.c