On Fri Dec 4, 2026 at 10:18 AM CET, Amir Goldstein wrote: > On Fri, Dec 4, 2026 at 1:52 AM koraynilay wrote: >> >> On Fri Dec 4, 2026 at 1:07 AM CET, koraynilay wrote: >> > On Fri Dec 4, 2026 at 12:45 AM CET, Amir Goldstein wrote: >> >> On Fri, Dec 4, 2026 at 12:37 AM koraynilay wrote: >> ... >> >> >> >> We are talking past each other. >> >> >> >> I didn't mean to remove any INFORMATION that you included in your >> >> docs, I just proposed a compact format for the same exact >> >> information that was in two bloated tables inside one compat >> >> table, so I ask again: what information is missing in the table >> >> format that I proposed? >> >> >> >>> > | ``NOCOMP`` | - | RW | .... >> >> >> >> is a non converted old flag entry >> >> >> >>> > | ``COMPR`` | RO | RW | Compressed file flag. >> >> >> >> is a readonly converted flag >> >> >> >>> > | ``BTIME`` | MRW | - | Birth time. >> >> >> >> a masks only flag >> >> >> >> What information does it not describe that you want another table or more >> >> columns to describe? >> > >> > Ah, I'm sorry, yeah I understand now, that makes sense. >> > Basically it's "concept" "xflag support" "flag support" and if someone >> > wants to see the actual macros they can just grep the concept string and >> > find both, right? >> >> Updated: https://koraynilay.neocities.org/vfs-masks/fileattr >> >> What do you think? >> > > Awsome! > > Things to improve: Updated: https://koraynilay.neocities.org/vfs-masks/fileattr > > 1. The order (by bit order) makes no sense. > I suggest to order similar to your seconds table: > Start with BOTH, which are likely the most important, > followed by XFLAGS only, followed by FLAGS only. > Those are arguably the legacy least important and when > a legacy flag is converted to an XFLAGS it goes up the > list because it is obviously important. Added the requirement to move the line up in the "Adding new flags" section. > 2. MRW: Read-write only with masks. > I know I suggested the name, but now it looks a bit like RMW... > It would read better as RWM (Read-Write only with Masks) > and would look better in the legend. > I am indecisive about the desired internal order in the table for > XFLAGS-only vs. MASKS-only (RWM). With PROJINHERIT > being the last in the BOTH group, this order also happens to > place PROJID just below PROJINHERIT which is a nice outcome I used RW/M since IMO RWM reads even more like RMW than MRW. > 3. Some flags are implemented by a single filesystem, e.g. most of the > XFLAGS-only flags are XFS-only and HUGE_FILE/EXTENT/EA_INODE are > ext4-only. You already note "(XFS)" for REALTIME and FILESTREAM; > please do that consistently for all single-fs flags, so readers know > which flags are generic and which are fs-specific. Added the (filesystem). > 4. FS_RESERVED_FL is reserved for e2fsprogs, it is not a file > attribute and has no place in this table. > The "Reserved for ext3/ext4" comments in uapi fs.h are historical > bit allocations, not descriptions. INLINE_DATA, HUGE_FILE and > JOURNAL_DATA are real attributes, describe what they mean. > EOFBLOCKS has no in-tree user, so it can be dropped or marked unused. Removed these. Thanks, koraynilay > Thanks, > Amir.