]> git.ozlabs.org Git - petitboot/blobdiff - devices/paths.h
Create uuid and label symlinks when mounting devices
[petitboot] / devices / paths.h
index a6f01c4ca56454e0db6032ea992327f1cb01bfb1..26d4ce41eb2a946c8bc9f13b5e5ba7b60637f4a6 100644 (file)
@@ -45,5 +45,9 @@ void set_mount_base(const char *path);
  */
 char *join_paths(const char *a, const char *b);
 
+/**
+ * encode a disk label (or uuid) for use in a symlink.
+ */
+char *encode_label(const char *label);
 
 #endif /* PATHS_H */