# SPDX-License-Identifier: GPL-2.0
#
# CUBELinux: the coordinate store, in the kernel.

config CUBELINUX_STORE
	bool "CUBELinux store reader"
	depends on RUST && BLOCK
	help
	  Read the CUBELinux store image from a block device and report what it
	  holds: record count, value bytes, and a digest over every record.

	  This is the first CUBE code in the kernel, and it is deliberately a
	  reader. The store's write authority is a separate decision with its own
	  consequences (see PLAN-kernel-cubelinux.md): until it is taken, the
	  kernel must not touch a store that a userspace daemon may also hold.

	  Say Y to expose /dev/cubelinux. Reading it performs the read and returns
	  one line, in the same field order the userspace tool prints, so the two
	  can be compared directly.
