5 * Get the mountpoint for a device
7 const char *mountpoint_for_device(const char *dev_path);
10 * Resolve a path given in a config file, to a path in the local filesystem.
11 * Paths may be of the form:
12 * device:path (eg /dev/sda:/boot/vmlinux)
16 * - in this case, the current mountpoint is used.
18 * Returns a newly-allocated string containing a full path to the file in path
20 char *resolve_path(const char *path, const char *current_mountpoint);
23 * Set the base directory for newly-created mountpoints
25 void set_mount_base(const char *path);