mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-14 19:31:12 +00:00

This makes the daemon less destructive at startup, especially if the ESP is not mounted. It's stored in 3 different places right now, so move it into one point of truth. Now the ESP is detected when needed including all point of time safety checks and dynamically mounted and unmounted if necessary.
17 lines
545 B
C
17 lines
545 B
C
/*
|
|
* Copyright (C) 2019 Mario Limonciello <mario.limonciello@dell.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
GPtrArray *fu_uefi_udisks_get_block_devices (GError **error);
|
|
gboolean fu_uefi_udisks_objpath (const gchar *path);
|
|
gboolean fu_uefi_udisks_objpath_is_esp (const gchar *obj);
|
|
gchar *fu_uefi_udisks_objpath_mount (const gchar *path,
|
|
GError **error);
|
|
gboolean fu_uefi_udisks_objpath_umount (const gchar *path,
|
|
GError **error);
|
|
gchar *fu_uefi_udisks_objpath_is_mounted (const gchar *path);
|