cvs commit: src/sbin/gpt Makefile gpt.c gpt.h map.h remove.c

Marcel Moolenaar marcel at FreeBSD.org
Sat Aug 7 00:41:38 PDT 2004


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)


More information about the cvs-src mailing list