fwupd/plugins/uefi/fu-uefi-udisks.h
Mario Limonciello 5bd649ef31 uefi: detect unmounted ESP partitions (Fixes: #1405)
Mount these while writing out updates.
Leave them mounted when done (you gotta reboot anyway).
2019-09-26 10:39:45 -05:00

14 lines
396 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);