1# Copyright (c) 2024 Embedded Solutions GmbH
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig DISK_DRIVER_LOOPBACK
5	bool "Loopback Disk"
6	depends on FILE_SYSTEM
7	help
8	  Enables mounting the contents of a file as a separate disk.
9
10if DISK_DRIVER_LOOPBACK
11
12config LOOPBACK_DISK_SECTOR_SIZE
13	int "Loopback disk sector size"
14	default 512
15	help
16	  Sets the sector size used for loopback-mounted disks.
17
18module = LOOPBACK_DISK
19module-str = loopback_disk
20source "subsys/logging/Kconfig.template.log_config"
21
22endif # DISK_DRIVER_LOOPBACK
23