From owner-cvs-src@FreeBSD.ORG Sat Aug 7 06:10:46 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37C6B16A4CE; Sat, 7 Aug 2004 06:10:46 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FCDE43D3F; Sat, 7 Aug 2004 06:10:46 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i776Akkf047494; Sat, 7 Aug 2004 06:10:46 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i776Ak1v047493; Sat, 7 Aug 2004 06:10:46 GMT (envelope-from marcel) Message-Id: <200408070610.i776Ak1v047493@repoman.freebsd.org> From: Marcel Moolenaar Date: Sat, 7 Aug 2004 06:10:46 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/gpt add.c gpt.8 gpt.c map.c map.h show.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Aug 2004 06:10:46 -0000 marcel 2004-08-07 06:10:46 UTC FreeBSD src repository Modified files: sbin/gpt add.c gpt.8 gpt.c map.c map.h show.c Log: o Save the partition number (=index) in the internal map. The index starts at 1. No index is represented by 0. o Change the show command to display the partition number at the expense of the partition end columm. We already display the start and size. o Enhance the add command to accept the -i option. The -i option allows the user to specify which partition number the new partition should get. o Update the manpage accordingly. Revision Changes Path 1.7 +49 -22 src/sbin/gpt/add.c 1.5 +12 -5 src/sbin/gpt/gpt.8 1.7 +2 -0 src/sbin/gpt/gpt.c 1.4 +1 -0 src/sbin/gpt/map.c 1.4 +1 -0 src/sbin/gpt/map.h 1.9 +10 -7 src/sbin/gpt/show.c