Index: uspace/lib/c/generic/vfs/vfs.c
===================================================================
--- uspace/lib/c/generic/vfs/vfs.c	(revision d8b47eca6f42cb0337bbfbbd1fcd114ae523a897)
+++ uspace/lib/c/generic/vfs/vfs.c	(revision 663664703394632860eadef65798f751d575e737)
@@ -892,4 +892,24 @@
 }
 
+int statfs(const char *path, struct statfs *buf)
+{
+	sysarg_t rc;
+	//aid_t req;
+
+	if ( NULL == buf )
+		return 1;
+
+	sysarg_t value;
+	async_exch_t *exch = vfs_exchange_begin();	
+	rc = async_req_0_1(exch, VFS_IN_STATFS, &value);
+	if (rc != EOK)
+		goto exit;
+
+	buf->f_bsize = value;
+exit:
+	vfs_exchange_end(exch);
+	return rc;
+}
+
 /** @}
  */
