Index: uspace/lib/fs/libfs.c
===================================================================
--- uspace/lib/fs/libfs.c	(revision 1dff985eeea7ec928487e2814a82eb105072a35a)
+++ uspace/lib/fs/libfs.c	(revision 0b97336d11bcc58a2ceb2de62e7d789187fda193)
@@ -43,8 +43,10 @@
 #include <dirent.h>
 #include <mem.h>
+#include <str.h>
 #include <sys/stat.h>
 #include <sys/statfs.h>
 #include <stdlib.h>
 #include <fibril_synch.h>
+#include <ipc/vfs.h>
 
 #define on_error(rc, action) \
@@ -72,4 +74,6 @@
 static vfs_out_ops_t *vfs_out_ops = NULL;
 static libfs_ops_t *libfs_ops = NULL;
+
+static char fs_name[FS_NAME_MAXLEN + 1];
 
 static void libfs_link(libfs_ops_t *, fs_handle_t, ipc_callid_t,
@@ -394,4 +398,6 @@
 	vfs_out_ops = vops;
 	libfs_ops = lops;
+
+	str_cpy(fs_name, sizeof(fs_name), info->name);
 
 	/*
@@ -817,4 +823,6 @@
 	memset(&st, 0, sizeof(struct statfs));
 
+	str_cpy(st.fs_name, sizeof(st.fs_name), fs_name);
+
 	if (ops->size_block != NULL) {
 		rc = ops->size_block(service_id, &st.f_bsize);
