[Jfs-discussion] Re: ACL/EA for JFS
Brought to you by:
blaschke-oss,
shaggyk
|
From: Dave K. <sh...@au...> - 2001-10-23 22:22:26
|
Christian Mueller wrote: > Hi again, > > i am working for an implementation of posix acls for JFS! Great! > > i have decied to implement the posix acl's like xfs uses too. I have already > implemnt the posix acls syscalls and have expand the structure > "jfs_dir_inode_operations" and "jfs_file_inode_operations" with two functions > for aclget and aclset. i can right now simulate to get ACL entrys from a file > or directory and set entrys. now it is time to do the real > implementation!. i have read the > "http://www-106.ibm.com/developerworks/library/jfslayout/index.html" and i if > i understand right, the inode 1 should used for that. Can i already use this > inode, or must made changes to use this inode, or have i to go another way to > get a fileset for the acl implemantation? Yes, this inode is reserved for the ACL's. It is initialized as an empty inode by mkfs. Go ahead and use it. We will probably have to make a small change to fsck to account for the space used by inode 1. I think fsck.jfs currently ignores it. > Have you some tips how i get the inode 1 with the shortest way, without > breaking logging or something else? I think i_get(sb, 1) should work. I can help you figure out what additional code we'll have to add to make the logging complete once you have the rest of the code ready. > > Has someone wishes what to implement further? > > And i hope i can put my first patch somewhere soon! :-) I'm looking forward to seeing it. > > Thanks, > > Christian Mueller > Thank you too! Dave -- David Kleikamp IBM Linux Technology Center |