Index: uspace/srv/fs/exfat/exfat_fat.c
===================================================================
--- uspace/srv/fs/exfat/exfat_fat.c	(revision af4dec0d3316f249f09b69a81a67a8b59ae182f8)
+++ uspace/srv/fs/exfat/exfat_fat.c	(revision 9f985781dc025861bd0e3540200e5fc39383c785)
@@ -59,4 +59,63 @@
 
 
+/** Get cluster from the FAT.
+ *
+ * @param bs		Buffer holding the boot sector for the file system.
+ * @param devmap_handle	Device handle for the file system.
+ * @param clst		Cluster which to get.
+ * @param value		Output argument holding the value of the cluster.
+ *
+ * @return		EOK or a negative error code.
+ */
+int
+fat_get_cluster(exfat_bs_t *bs, devmap_handle_t devmap_handle,
+    exfat_cluster_t clst, exfat_cluster_t *value)
+{
+	block_t *b;
+	aoff64_t offset;
+	int rc;
+
+	offset = clst * sizeof(exfat_cluster_t);
+
+	rc = block_get(&b, devmap_handle, FAT_FS(bs) + offset / BPS(bs), BLOCK_FLAGS_NONE);
+	if (rc != EOK)
+		return rc;
+
+	*value = uint32_t_le2host(*(uint32_t *)(b->data + offset % BPS(bs)));
+
+	rc = block_put(b);
+
+	return rc;
+}
+
+/** Set cluster in FAT.
+ *
+ * @param bs		Buffer holding the boot sector for the file system.
+ * @param devmap_handle	Device handle for the file system.
+ * @param clst		Cluster which is to be set.
+ * @param value		Value to set the cluster with.
+ *
+ * @return		EOK on success or a negative error code.
+ */
+int
+fat_set_cluster(exfat_bs_t *bs, devmap_handle_t devmap_handle,
+    exfat_cluster_t clst, exfat_cluster_t value)
+{
+	block_t *b;
+	aoff64_t offset;
+	int rc;
+
+	offset = clst * sizeof(exfat_cluster_t);
+
+	rc = block_get(&b, devmap_handle, FAT_FS(bs) + offset / BPS(bs), BLOCK_FLAGS_NONE);
+	if (rc != EOK)
+		return rc;
+
+	*(uint32_t *)(b->data + offset % BPS(bs)) = host2uint32_t_le(value);
+
+	b->dirty = true;	/* need to sync block */
+	rc = block_put(b);
+	return rc;
+}
 
 /** Perform basic sanity checks on the file system.
Index: uspace/srv/fs/exfat/exfat_fat.h
===================================================================
--- uspace/srv/fs/exfat/exfat_fat.h	(revision af4dec0d3316f249f09b69a81a67a8b59ae182f8)
+++ uspace/srv/fs/exfat/exfat_fat.h	(revision 9f985781dc025861bd0e3540200e5fc39383c785)
@@ -57,6 +57,9 @@
 
 
+extern int fat_get_cluster(struct exfat_bs *bs, devmap_handle_t devmap_handle,
+    exfat_cluster_t clst, exfat_cluster_t *value);
+extern int fat_set_cluster(struct exfat_bs *bs, devmap_handle_t devmap_handle,
+    exfat_cluster_t clst, exfat_cluster_t value);
 extern int exfat_sanity_check(struct exfat_bs *, devmap_handle_t);
-
 #endif
 
