On Sat, 2006-01-28 at 09:22 +0100, Herbert Poetzl wrote: > Hi Dave! > > I'd like to make inode attributes (like immutable) > available for jfs, similar to ext2/3, xfs and reiserfs, > and so I thought I contact you to ask a few questions ... > > 1) are there any patches around which do that already? > (extensive search didn't turn up anything) No, not that I know of. > > 2) would something like this be accepted as patch? > (no problem if not)
Yes, I wouldn't hesitate to accept it. > > 3) could you suggest which location in the on disk > inode structure would be best for storing that > kind of data (16 or 32 bit) How many attribute flags would really be useful to support? There are available bits in the high order 16 bits of di_mode (see jfs_dinode.h). You can also consider reusing the bits defined for OS/2 compatibility. Some would make sense, like IREADONLY could share the same value as IMMUTABLE. Also ISWAPFILE isn't used and can be used for something else. > in general, I'd be interested in your comments on this > so just let me know what you think ... I've thought about it before, but nobody has really asked, so I never bothered, but I'd be happy to accept a patch. > > TIA, > Herbert > > -- David Kleikamp IBM Linux Technology Center ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Jfs-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jfs-discussion
