From: Adrian McMenamin <adrianmcmenamin@gmail.com>
To: linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
Adrian McMenamin <adrianmcmenamin@gmail.com>
Subject: [PATCH 0/10] Add support for VMUFAT filesystem
Date: Fri, 10 Apr 2026 15:17:24 +0100 [thread overview]
Message-ID: <20260410141723.307925-2-adrianmcmenamin@gmail.com> (raw)
The Visual Memory Unit (VMU) for a Sega Dreamcast includes a small slab
of flash memory which is formatted with a file allocation table (FAT)
based file system. This patch adds support for that file system in a
hardware independent way (ie you can build and mount a VMUFAT filesystem
on other systems than a Dreamcast).
The code supports the Dreamcast factory settings and other volume sizes.
It is neither mtd nor Dreamcast/SH dependent.
The patch set includes new documentation, modifications to Kconfig, the filesystem code (in inode.c and super.c and the vmufat.h) and adds a new 'magic number' based on the VMUFAT format.
The code has been tested on a Dreamcast (and built with a 32 bit
compiler) and on x86_64.
Tools to format a filesystem are available here: https://github.com/mcmenaminadrian/mkfs.vmufat
(Resending after typo in previous subject line)
Signed-off-by: Adrian McMenamin <adrianmcmenamin@gmail.com>
---
Documentation/filesystems/index.rst | 1 +
Documentation/filesystems/vmufat.rst | 127 ++++
fs/Kconfig | 1 +
fs/Makefile | 1 +
fs/vmufat/Kconfig | 14 +
fs/vmufat/Makefile | 7 +
fs/vmufat/inode.c | 1017 ++++++++++++++++++++++++++
fs/vmufat/super.c | 581 +++++++++++++++
fs/vmufat/vmufat.h | 126 ++++
include/uapi/linux/magic.h | 1 +
10 files changed, 1876 insertions(+)
create mode 100644 Documentation/filesystems/vmufat.rst
create mode 100644 fs/vmufat/Kconfig
create mode 100644 fs/vmufat/Makefile
create mode 100644 fs/vmufat/inode.c
create mode 100644 fs/vmufat/super.c
create mode 100644 fs/vmufat/vmufat.h
reply other threads:[~2026-04-10 14:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260410141723.307925-2-adrianmcmenamin@gmail.com \
--to=adrianmcmenamin@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®