mirror of
https://github.com/ericonr/util-linux.git
synced 2024-04-21 09:12:35 -05:00
* mount(8) uses private device-mapper names in mtab * libblkid returns private device-mapper names when evaluate udev /dev/disk-by symlinks. * on systems where DM is fully integrated with udev the /dev/mapper/<name> files are symlinks to /dev/dm-N. It means we need a special care to hide private device-mapper names. Signed-off-by: Karel Zak <kzak@redhat.com>
10 lines
216 B
C
10 lines
216 B
C
#ifndef CANONICALIZE_H
|
|
#define CANONICALIZE_H
|
|
|
|
#include "c.h" /* for PATH_MAX */
|
|
|
|
extern char *canonicalize_path(const char *path);
|
|
extern char *canonicalize_dm_name(const char *ptname);
|
|
|
|
#endif /* CANONICALIZE_H */
|