Hello! On Fri, Jun 27, 2003 at 09:07:05AM -0700, Fong Vang wrote: > Once the write to the file is CLOSED the file should not be modifiable in > any way. It should not be writeable by root. Ideally, this should be > across reboot and across kernel. The current requirement is that as long as > the modified kernel/reisefs is being used then it should NOT be modifiable > (if a kernel allowing modification is used then it could allow > modifications).
So basically do you think it would be better for you to have "write-once flag" in superblock that will make all files to be unwritable (except newly created ones) as opposed to a simple mount option that you'd use for filesystems with non-changeable files? (you need to mark filesystems that are in write-once mode somehow, because I think you do not need all reiserfs filesystems to be run in this mode, right?) Also concerning the "root should not be able to change the files", root will be able to overwrite files by using block devices if he'd want to. Bye, Oleg