From owner-cvs-all@FreeBSD.ORG Sun Apr 24 20:08:29 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9CE516A4CE; Sun, 24 Apr 2005 20:08:29 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EF4143D5C; Sun, 24 Apr 2005 20:08:29 +0000 (GMT) (envelope-from des@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j3OK8TtB013108; Sun, 24 Apr 2005 20:08:29 GMT (envelope-from des@repoman.freebsd.org) Received: (from des@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j3OK8TiS013107; Sun, 24 Apr 2005 20:08:29 GMT (envelope-from des) Message-Id: <200504242008.j3OK8TiS013107@repoman.freebsd.org> From: Dag-Erling Smorgrav Date: Sun, 24 Apr 2005 20:08:29 +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 gpt.h remove.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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, 24 Apr 2005 20:08:29 -0000 des 2005-04-24 20:08:29 UTC FreeBSD src repository Modified files: sbin/gpt add.c gpt.8 gpt.c gpt.h remove.c Log: - distinguish between the device name (what the user called it on the command line) and the device path (what we passed to open()). Use the former in diagnostics. - when adding or removing partitions, print a single line to stdout for each partition that was added or removed, indicating its name. - add an -a option to 'gpt remove' which must be explicitly specified to remove all partitions. Approved by: marcel (in prinicple) MFC after: 2 weeks Revision Changes Path 1.11 +2 -0 src/sbin/gpt/add.c 1.12 +11 -2 src/sbin/gpt/gpt.8 1.10 +15 -11 src/sbin/gpt/gpt.c 1.7 +1 -1 src/sbin/gpt/gpt.h 1.4 +16 -3 src/sbin/gpt/remove.c