• Andrew Morton's avatar
    [PATCH] reiserfs: inode attributes support. · 37c90629
    Andrew Morton authored
    From: Oleg Drokin <green@namesys.com>
    
    This is a forward port of 2.4's inode attributes support for reiserfs.
    Original implementation for 2.4 was performed by Nikita Danilov.
    
    In order to enable this support, one must use "attrs" mount options, eg:
    
    	mount /dev/hda1 /mount/pont -t reiserfs -o attrs
    
    Also either the filesystem must have been created with a recent mkreiserfs
    or must have been modified by a recent version of reiserfsck with its
    "--clean-attributes" option.
    
    If that is not done, attributes support will not be enabled and a kernel
    message will be printed.  This is necessary because old kernels left random
    garbage in the place where these attributes now live.
    
    These attributes are totally compatible with ext2's ones.  You can
    manipulate them with chattr/lsattr etc.
    
    Additionally the chattr 'd' option may be used to disable tail packing on a
    specific file or a directory tree.  (The 'd' option normally means "don't
    dump".  reiserfs has overloaded it).
    37c90629
super.c 44.1 KB