Index: uspace/lib/c/generic/vfs/vfs.c
===================================================================
--- uspace/lib/c/generic/vfs/vfs.c	(revision 582a0b84b0a73672531e7b404a89997af41ba0b9)
+++ uspace/lib/c/generic/vfs/vfs.c	(revision 3345b8643e43d3ed4e6235473b2897c18e8a697c)
@@ -347,4 +347,39 @@
 	return loc_service_connect(stat.service, iface, 0);
 }
+
+/** Determine if a device contains the specified file system type. If so,
+ * return identification information.
+ *
+ * @param fs_name File system name
+ * @param serv    Service representing the mountee
+ * @param info    Place to store volume identification information
+ *
+ * @return                      EOK on success or a negative error code
+ */
+int vfs_fsprobe(const char *fs_name, service_id_t serv,
+    vfs_fs_probe_info_t *info)
+{
+	sysarg_t rc;
+	
+	ipc_call_t answer;
+	async_exch_t *exch = vfs_exchange_begin();
+	aid_t req = async_send_1(exch, VFS_IN_FSPROBE, serv, &answer);
+	
+	rc = async_data_write_start(exch, (void *) fs_name,
+	    str_size(fs_name));
+	
+	async_wait_for(req, &rc);
+	
+	if (rc != EOK) {
+		vfs_exchange_end(exch);
+		return rc;
+	}
+	
+	rc = async_data_read_start(exch, info, sizeof(*info));
+	vfs_exchange_end(exch);
+	
+	return rc;
+}
+
 
 /** Return a list of currently available file system types
