git: 0d2454f0cb8a - stable/15 - file: Parse some UFS2 flags
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Apr 2026 09:48:39 UTC
The branch stable/15 has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=0d2454f0cb8a6a826e1bdbcc38f4242738ca71d1
commit 0d2454f0cb8a6a826e1bdbcc38f4242738ca71d1
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-04-02 09:47:50 +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
(cherry picked from commit fa03f93e8829a7689101303fbe9fb06654ca14ed)
---
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