git: fa03f93e8829 - main - file: Parse some UFS2 flags

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Tue, 24 Mar 2026 11:03:59 UTC
The branch main has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=fa03f93e8829a7689101303fbe9fb06654ca14ed

commit fa03f93e8829a7689101303fbe9fb06654ca14ed
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-03-24 11:02:32 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-03-24 11:02:32 +0000

    file: Parse some UFS2 flags
    
    This allows libmagic to recognize the FS_DOSOFTDEP, FS_SUJ, FS_GJOURNAL,
    FS_ACLS, and FS_NFS4ACLS flags on a UFS2 file system.
    
    Accepted upstream as 482259e5e952.
    
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D56010
---
 contrib/file/magic/Magdir/filesystems | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/contrib/file/magic/Magdir/filesystems b/contrib/file/magic/Magdir/filesystems
index a15e5e74d971..78e9a31bd0e7 100644
--- a/contrib/file/magic/Magdir/filesystems
+++ b/contrib/file/magic/Magdir/filesystems
@@ -1640,6 +1640,11 @@
 >1112	lelong		x		pending inodes to free %d,
 >712	lequad		x		system-wide uuid %0llx,
 >60	lelong		x		minimum percentage of free blocks %d,
+>1312	lelong&0xa	0x2		soft updates,
+>1312	lelong&0xa	0xa		soft updates journaling,
+>1312	lelong&0x40	0x40		GEOM journaling,
+>1312	lelong&0x10	0x10		POSIX.1e ACLs,
+>1312	lelong&0x100	0x100		NFSv4 ACLs,
 >128	lelong		0		TIME optimization
 >128	lelong		1		SPACE optimization