Index: uspace/lib/c/generic/vol.c
===================================================================
--- uspace/lib/c/generic/vol.c	(revision 63c1dd5baed77410998be60405abb3b36a7a56b3)
+++ uspace/lib/c/generic/vol.c	(revision 209cd41cc4d57974356cbf19757223b50b39f78e)
@@ -312,4 +312,36 @@
 }
 
+/** Insert volume by path.
+ *
+ * @param vol Volume service
+ * @param path Filesystem path
+ *
+ * @return EOK on success or an error code
+ */
+errno_t vol_part_insert_by_path(vol_t *vol, const char *path)
+{
+	async_exch_t *exch;
+	ipc_call_t answer;
+	errno_t retval;
+
+	exch = async_exchange_begin(vol->sess);
+	aid_t req = async_send_0(exch, VOL_PART_INSERT_BY_PATH, &answer);
+
+	retval = async_data_write_start(exch, path, str_size(path));
+	if (retval != EOK) {
+		async_exchange_end(exch);
+		async_forget(req);
+		return retval;
+	}
+
+	async_exchange_end(exch);
+	async_wait_for(req, &retval);
+
+	if (retval != EOK)
+		return retval;
+
+	return EOK;
+}
+
 /** Get volume label support.
  *
