History log of /netbsd-current/sbin/gpt/type.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.16 21-Jun-2019 jnemeth

Add a third argument to the "cfn" function that is an argument to
gpt_change_ent(). The purpose of the third argument is to specify
whether the entry to be changed is a primary GPT entry or a secondary
GPT entry. It is assumed that a secondary GPT entry will always
follow a corresponding primary entry.

This is in preparation for an upcoming change that will require it.


Revision tags: phil-wifi-20190609 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
# 1.15 03-Jul-2018 jnemeth

Not all things that write to the disk do something that dk(4) will
be interested in. Let individual commands decide if ioctl(DIOCMWEDGES)
should be done. I was conservative and set the flag on any command
that might create/modify/delete partitions in any way.


Revision tags: phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322
# 1.14 19-Mar-2018 mlelstv

branches: 1.14.2;
Check device parameter to avoid segfaults. Agument synopsis for -l option.


Revision tags: pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.13 06-Dec-2015 christos

branches: 1.13.8; 1.13.14;
Add listing commands for type, set and unset.
Add help and formatting for set and unset.
Change show to print all the attribute info in one line.


# 1.12 03-Dec-2015 christos

eliminate static globals so that commands can be re-used.


# 1.11 02-Dec-2015 christos

use the utility function.


# 1.10 01-Dec-2015 christos

refactor more duplicated code.


# 1.9 01-Dec-2015 christos

Refactor the command dispatching and help printing logic.


# 1.8 01-Dec-2015 christos

Firs step of refactoring, remove all globals, factor out some common code,
handle alternate usage but not advertise it.


# 1.7 29-Nov-2015 christos

merge the create errors in one place and fix them.


# 1.6 07-Dec-2014 mlelstv

branches: 1.6.2;
Fix handling of -t option for the type command.
Match any type, when no option is given, just like for the label command.


# 1.5 30-Sep-2014 christos

Add internal uuid support, since the linux+macos versions of the library
are different than than *bsd ones, and others might not have it at all.


# 1.4 30-Sep-2014 christos

remove compat defines.


# 1.3 29-Sep-2014 christos

minor toolification: need libprop...


# 1.2 29-Sep-2014 jnemeth

PR/47990 - Dr. Wolfgang Stukenbrock -- add "-L <label>" as selector option


# 1.1 28-Sep-2014 jnemeth

PR/44218 - David Young -- add "type" subcommand to change a partition type


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
# 1.15 03-Jul-2018 jnemeth

Not all things that write to the disk do something that dk(4) will
be interested in. Let individual commands decide if ioctl(DIOCMWEDGES)
should be done. I was conservative and set the flag on any command
that might create/modify/delete partitions in any way.


Revision tags: phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322
# 1.14 19-Mar-2018 mlelstv

Check device parameter to avoid segfaults. Agument synopsis for -l option.


Revision tags: pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.13 06-Dec-2015 christos

branches: 1.13.8; 1.13.14;
Add listing commands for type, set and unset.
Add help and formatting for set and unset.
Change show to print all the attribute info in one line.


# 1.12 03-Dec-2015 christos

eliminate static globals so that commands can be re-used.


# 1.11 02-Dec-2015 christos

use the utility function.


# 1.10 01-Dec-2015 christos

refactor more duplicated code.


# 1.9 01-Dec-2015 christos

Refactor the command dispatching and help printing logic.


# 1.8 01-Dec-2015 christos

Firs step of refactoring, remove all globals, factor out some common code,
handle alternate usage but not advertise it.


# 1.7 29-Nov-2015 christos

merge the create errors in one place and fix them.


# 1.6 07-Dec-2014 mlelstv

branches: 1.6.2;
Fix handling of -t option for the type command.
Match any type, when no option is given, just like for the label command.


# 1.5 30-Sep-2014 christos

Add internal uuid support, since the linux+macos versions of the library
are different than than *bsd ones, and others might not have it at all.


# 1.4 30-Sep-2014 christos

remove compat defines.


# 1.3 29-Sep-2014 christos

minor toolification: need libprop...


# 1.2 29-Sep-2014 jnemeth

PR/47990 - Dr. Wolfgang Stukenbrock -- add "-L <label>" as selector option


# 1.1 28-Sep-2014 jnemeth

PR/44218 - David Young -- add "type" subcommand to change a partition type


Revision tags: pgoyette-localcount-20161104 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.13 06-Dec-2015 christos

Add listing commands for type, set and unset.
Add help and formatting for set and unset.
Change show to print all the attribute info in one line.


# 1.12 03-Dec-2015 christos

eliminate static globals so that commands can be re-used.


# 1.11 02-Dec-2015 christos

use the utility function.


# 1.10 01-Dec-2015 christos

refactor more duplicated code.


# 1.9 01-Dec-2015 christos

Refactor the command dispatching and help printing logic.


# 1.8 01-Dec-2015 christos

Firs step of refactoring, remove all globals, factor out some common code,
handle alternate usage but not advertise it.


# 1.7 29-Nov-2015 christos

merge the create errors in one place and fix them.


# 1.6 07-Dec-2014 mlelstv

branches: 1.6.2;
Fix handling of -t option for the type command.
Match any type, when no option is given, just like for the label command.


# 1.5 30-Sep-2014 christos

Add internal uuid support, since the linux+macos versions of the library
are different than than *bsd ones, and others might not have it at all.


# 1.4 30-Sep-2014 christos

remove compat defines.


# 1.3 29-Sep-2014 christos

minor toolification: need libprop...


# 1.2 29-Sep-2014 jnemeth

PR/47990 - Dr. Wolfgang Stukenbrock -- add "-L <label>" as selector option


# 1.1 28-Sep-2014 jnemeth

PR/44218 - David Young -- add "type" subcommand to change a partition type