Add context to DM helpers.

(To be used later.)
This commit is contained in:
Milan Broz
2012-08-14 16:25:21 +02:00
parent 15442c1747
commit 97224b072a
8 changed files with 70 additions and 60 deletions

View File

@@ -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);