mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
fs/mount: Name xipfs in statfs and fs_gettype.
A file system that answers statfs with a magic nothing maps to shows up as "Unrecognized" in df. Give xipfs its constant alongside the others in sys/statfs.h and the case in fs_gettype that turns it into a name. Assisted-by: Claude Code:claude-opus-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
This commit is contained in:
parent
e0cc0244c5
commit
a104fb8047
2 changed files with 7 additions and 0 deletions
|
|
@ -98,6 +98,7 @@
|
|||
#define CROMFS_MAGIC 0x4d4f5243
|
||||
#define RPMSGFS_MAGIC 0x54534f47
|
||||
#define ZIPFS_MAGIC 0x504b
|
||||
#define XIPFS_MAGIC 0x58495046
|
||||
#define V9FS_MAGIC 0x01021997
|
||||
|
||||
#if defined(CONFIG_FS_LARGEFILE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue