History log of /haiku/src/add-ons/disk_systems/gpt/GPTDiskAddOn.cpp
Revision Date Author Comments
# 0fbba5d7 23-Jan-2021 Adrien Destugues <pulkomandy@pulkomandy.tk>

disk_system add-ons: fix initialization

We never told the disk system that the partition had been initialized.
As a result, the disk device jobs to clean and reinit the partition
table were not run. This would lead to:
- The bootloader code not being replaced with our MBR code
- Old partitions not being removed from the disk

This would maybe solve itself when creating a partition, but it's better
to do these changes immediately when the user asks to initialize the
disk.

Fixes #9108.

Change-Id: Icc8ebe3830d948367852a57cf46d034b0f1c6c19
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3673
Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com>


# ed7204fa 13-Dec-2019 Alexander von Gluck IV <kallisti5@unixzen.com>

gpt: Correct naming. efi_* also conflicts with some efi headers

Change-Id: I19b5b2c4609da8474b26588ae8d7d4caf72a826b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2018
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>


# e495a73b 22-Dec-2016 Jessica Hamilton <jessica.l.hamilton@gmail.com>

partitioning: set partition name in partition table if supported.


# 1b266201 12-Feb-2013 Axel Dörfler <axeld@pinc-software.de>

Cleanup.

* There is no BDiskSystemAddOn::GetInitializationParameterEditor() method,
and it's therefore never being called.


# b44f9282 23-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

gpt: early work in progress of a disk system add-on.

* It currently allows to initialize a disk using GPT. However, this then
fails somewhere in the kernel.


# 1b2662019b27ae0e478131506e56d2380d9cf4b5 12-Feb-2013 Axel Dörfler <axeld@pinc-software.de>

Cleanup.

* There is no BDiskSystemAddOn::GetInitializationParameterEditor() method,
and it's therefore never being called.


# b44f9282b7bc551e4aaf72acc467742f82c10a5c 23-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

gpt: early work in progress of a disk system add-on.

* It currently allows to initialize a disk using GPT. However, this then
fails somewhere in the kernel.