mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Add context to DM helpers.
(To be used later.)
This commit is contained in:
@@ -30,6 +30,11 @@
|
||||
#include <sys/types.h>
|
||||
#include "utils_dm.h"
|
||||
|
||||
/* These are DM helpers used only by this file */
|
||||
int dm_is_dm_device(int major, int minor);
|
||||
int dm_is_dm_kernel_name(const char *name);
|
||||
char *dm_device_path(const char *prefix, int major, int minor);
|
||||
|
||||
char *crypt_lookup_dev(const char *dev_id);
|
||||
int crypt_sysfs_get_rotational(int major, int minor, int *rotational);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user