Following FUSE & CUSE, Now There Is "MUSE" For MTD In Userspace

Written by Michael Larabel in Linux Storage on 27 November 2020 at 04:24 AM EST. 11 Comments
LINUX STORAGE
FUSE is well known to longtime Linux users for allowing file-systems to be implemented in user-space for where a Linux kernel port isn't feasible for portability or licensing restrictions, among other factors. There is also CUSE for character devices in user-space. Now being based on FUSE, there is "MUSE" being worked on for MTD in user-space.

The Memory Technology Device (MTD) subsystem for Linux is working on the FUSE-based MUSE for being able to support emulators in user-space. MTD is a kernel abstraction layer for raw flash devices and various memory technologies. Currently there are a number of emulators within the MTD subsystem for driving their development but extending those emulators has been a headache. With MUSE they aim to punt all their advanced emulator work into user-space while having just a small kernel driver. It's similar in nature to CUSE but rather than being a character device exposed is a memory technology device.
MUSE allows implementing a MTD in userspace. So far userspace has control over mtd_read, mtd_write, mtd_erase, mtd_block_isbad, mtd_block_markbad, and mtd_sync. It can also set the following MTD parameters: name, flags, site, writesize and erasesize.

That way advanced simulators for many type of flashes can be implemented in userspace.

More details on the in-development MUSE or interested in Linux's MTD subsystem in general can see this patch series with the latest tentative work around this functionality.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week