mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Add dm_device_name helper.
Gets dm name from absolute device path.
This commit is contained in:
@@ -213,5 +213,6 @@ int lookup_dm_dev_by_uuid(struct crypt_device *cd, const char *uuid, const char
|
||||
int dm_is_dm_device(int major);
|
||||
int dm_is_dm_kernel_name(const char *name);
|
||||
char *dm_device_path(const char *prefix, int major, int minor);
|
||||
char *dm_device_name(const char *path);
|
||||
|
||||
#endif /* _UTILS_DM_H */
|
||||
|
||||
Reference in New Issue
Block a user