History log of /netbsd-src/sbin/gpt/type.c (Results 1 – 16 of 16)
Revision Date Author Comments
# e003a26f 21-Jun-2019 jnemeth <jnemeth@NetBSD.org>

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 second

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.

show more ...


# aa3b5bb2 03-Jul-2018 jnemeth <jnemeth@NetBSD.org>

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

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.

show more ...


# a23ee504 19-Mar-2018 mlelstv <mlelstv@NetBSD.org>

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


# 4d523900 06-Dec-2015 christos <christos@NetBSD.org>

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.


# da0a3b4c 03-Dec-2015 christos <christos@NetBSD.org>

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


# c94670c3 02-Dec-2015 christos <christos@NetBSD.org>

use the utility function.


# bbb4a8ab 01-Dec-2015 christos <christos@NetBSD.org>

refactor more duplicated code.


# 8ca93e46 01-Dec-2015 christos <christos@NetBSD.org>

Refactor the command dispatching and help printing logic.


# 0b43d398 01-Dec-2015 christos <christos@NetBSD.org>

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


# ca4e0dcd 29-Nov-2015 christos <christos@NetBSD.org>

merge the create errors in one place and fix them.


# 9171ddc6 07-Dec-2014 mlelstv <mlelstv@NetBSD.org>

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


# 21c34dbb 30-Sep-2014 christos <christos@NetBSD.org>

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.


# c917041f 30-Sep-2014 christos <christos@NetBSD.org>

remove compat defines.


# a50708a1 29-Sep-2014 christos <christos@NetBSD.org>

minor toolification: need libprop...


# ac204e48 29-Sep-2014 jnemeth <jnemeth@NetBSD.org>

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


# 88085c2f 28-Sep-2014 jnemeth <jnemeth@NetBSD.org>

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