Date: Sat, 7 Aug 2004 07:41:38 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/gpt Makefile gpt.c gpt.h map.h remove.c Message-ID: <200408070741.i777fcQk051935@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2004-08-07 07:41:38 UTC
FreeBSD src repository
Modified files:
sbin/gpt Makefile gpt.c gpt.h map.h
Added files:
sbin/gpt remove.c
Log:
Implement a remove command. The remove command iterates the GPT
partitions and removes any that matches the pre-conditions. The
options are the same for the add command and are used to select
the partitions to remove.
Currently the remove command without any options deletes all GPT
partitions. This is rather harmful and will need anti-footshooting
measures.
Revision Changes Path
1.6 +2 -1 src/sbin/gpt/Makefile
1.8 +1 -1 src/sbin/gpt/gpt.c
1.5 +1 -0 src/sbin/gpt/gpt.h
1.5 +1 -1 src/sbin/gpt/map.h
1.1 +212 -0 src/sbin/gpt/remove.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408070741.i777fcQk051935>
