History log of /netbsd/usr.sbin/sysinst/gpt.c (Results 1 – 25 of 30)
Revision Date Author Comments
# 072292e0 15-Dec-2022 martin <martin@NetBSD.org>

PR 57100: fix install flag handling for newly added GPT partitions,
fix multiple install flags when updating existing partitions.


# b1e6d40a 11-Jun-2022 martin <martin@NetBSD.org>

Enhance support for the pseudo file system type "EFI System Partition".


# 060be59d 30-Jan-2022 martin <martin@NetBSD.org>

Do not defer wedge deletions when we have nothing mounted.
Define and use a constant for maximum disk name length.


# da03c2cb 29-Jan-2022 martin <martin@NetBSD.org>

Try to get rid of all wedges we created (after unmounting).


# 7920585f 17-Jul-2021 martin <martin@NetBSD.org>

Use strlcpy() to copy the wedge device name (the code still assumes
the string is short enough and 0 terminated, but now gcc is happy).


# 642571f8 17-Jul-2021 martin <martin@NetBSD.org>

PR 56310: if we fail to create a wedge this either means there is
a bug here (and we requested something nonsensial), or there are pre-
existing "foreign" wedges which disturb our work.
So remove all

PR 56310: if we fail to create a wedge this either means there is
a bug here (and we requested something nonsensial), or there are pre-
existing "foreign" wedges which disturb our work.
So remove all wedges on this disk that we do not know about and retry
to add our new wedge.

show more ...


# 94f5fa4c 17-Jul-2021 martin <martin@NetBSD.org>

PR 56310: avoid assert() failures (or crashes) when the runtime addition
of a wedge fails (for whatever reasons).


# de26528b 31-Jan-2021 rillig <rillig@NetBSD.org>

sysinst: remove trailing whitespace from *.c *.h

In contrast to the messages files, this whitespace is not significant.


# 5d65c236 14-Oct-2020 martin <martin@NetBSD.org>

Fix copy & pasto noticed by Jason Mitchell: change the type of a GPT
partition via "gpt type" - not "gpt label".


# b162b00b 13-Oct-2020 martin <martin@NetBSD.org>

PR 55142: on popular demand bring back expert options to adjust the
number of free inodes, block size and fragment size for FFS and LFS.


# 80bf2417 12-Oct-2020 martin <martin@NetBSD.org>

PR 55536: when we find existing partition tables and have alternative
formats available, offer to delete partitions and create new ones from
scratch (in some other or the same on-disk format).


# bf7de24a 03-Oct-2020 martin <martin@NetBSD.org>

PR 55384: detangle pm->ptstart from the "install" flag (selecting a
target partition). Instead introduce a new PTI_INSTALL_TARGET per partition
flag and deal with it in the partitioning backends.

Ho

PR 55384: detangle pm->ptstart from the "install" flag (selecting a
target partition). Instead introduce a new PTI_INSTALL_TARGET per partition
flag and deal with it in the partitioning backends.

Honour pm->ptstart when allocating new partitions - it is supposed to be
the first sector usable by NetBSD.

show more ...


# 50894729 30-Mar-2020 martin <martin@NetBSD.org>

Ooops, fix previous (PT_* enum values here are not DKW_PTYPE_* values)


# dd1127d6 30-Mar-2020 martin <martin@NetBSD.org>

Support partition type ZFS


# 0ea03d33 27-Jan-2020 martin <martin@NetBSD.org>

Fix support for non-512-byte/sector disks again after I broke it when
introducing the abstract partition backends.


# 75761763 15-Jan-2020 martin <martin@NetBSD.org>

Add a method to query the partitioning schemes "internal idea" of a
cylinder size - whatever that means in the real world.


# 34f3e937 09-Jan-2020 martin <martin@NetBSD.org>

Finish conversion of extended partitioning parts to new abstract
backend interface. XXX still could use a lot of polishing.


# f6d1758b 13-Dec-2019 martin <martin@NetBSD.org>

When finding (paritioning scheme native) partition types for file systems
from our install description, pass the partition type (not only the file
system type). Sometimes (e.g. EFI boot partition on

When finding (paritioning scheme native) partition types for file systems
from our install description, pass the partition type (not only the file
system type). Sometimes (e.g. EFI boot partition on GPT) the filesystem
type (MSDOS) is not a unique selector.

show more ...


# 8ac26f1a 12-Nov-2019 martin <martin@NetBSD.org>

Add options to the various partitioning stages that allow cloning of
alien partitions (optionally including data).


# c0e3ce44 26-Aug-2019 martin <martin@NetBSD.org>

Fix a bug when installing to pre-exising GPT partitions.
Handle GPT labels with spaces.


# ae033681 14-Aug-2019 martin <martin@NetBSD.org>

On architectures that usually do MBR/disklabel, nevertheless deal with
pure/plain disklabel disks, and explicitly offer this as partitioning
option when bootability is not a concern.


# 6bb5c164 07-Aug-2019 martin <martin@NetBSD.org>

Support upgrade of systems using NAME= syntax in /etc/fstab.

Make supported file system types dynamic - instead of hardcoding the
available types at compile time, check for available newfs_* helper

Support upgrade of systems using NAME= syntax in /etc/fstab.

Make supported file system types dynamic - instead of hardcoding the
available types at compile time, check for available newfs_* helper
binaries in the actual install environment at runtime.

show more ...


# 67b2b814 03-Aug-2019 martin <martin@NetBSD.org>

When reading an existing gpt, match the wedges already existing ons
on the parent device, so we can use them directly if we should proceed
with an unmodified partition table.


# 72c75c80 02-Aug-2019 martin <martin@NetBSD.org>

Deal with missing labels when parsing gpt(8) output.


# 5823c3d0 28-Jul-2019 martin <martin@NetBSD.org>

If available, show additional names of foreign partitions in the
size menu. Makes installing on machines with other OSes installed
a lot less confusing.


12