xfs
[Top] [All Lists]

TAKE - XFS/Linux Extended Attributes.

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - XFS/Linux Extended Attributes.
From: Ted Kline <jtk@xxxxxxx>
Date: Wed, 26 Jul 2000 11:12:18 -0500 (CDT)
Cc: jtk@xxxxxxx, casey@xxxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
Implement the interfaces & supporting code to support Irix-style
Extended Attributes, specifically:

        attr_get()      attr_getf()
        attr_set()      attr_setf()
        attr_list()     attr_listf()
        attr_remove()   attr_removef()

Also implement the "xfs_attr" utility command.
Update xfs_repair & xfs_db.

See near the top of cmd/xfs/attr/xfs_attr.c for a temporary
example of how to "define" the syscalls without having an
updated asm/unistd.h installed.

This implementation puts a "stake in the ground" to serve as
a "point of origin" for subsequent discussions about how
Extended Attributes in Linux should be implemented in general.



Date:  Wed Jul 26 09:03:54 PDT 2000
Workarea:  tiki.cray.com:/data/clink/io/jtk/work-linux2.4-test1-tot

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs


Modid:  2.4.0-test1-xfs:slinx:67850a
cmd/xfs/man/man1/xfs_attr.1 - 1.1
        - Man page for xfs_attr.

cmd/xfs/attr/Makefile - 1.1
        - Makefile for xfs_attr.

cmd/xfs/attr/xfs_attr.c - 1.1
        - xfs_attr command.

cmd/xfs/man/man2/attr_set.2 - 1.1
        - Man page for attr_set.

cmd/xfs/include/attributes.h - 1.1
        - Attributes definitions.

cmd/xfs/man/man2/attr_remove.2 - 1.1
        - Man page for attr_remove.

cmd/xfs/man/man2/attr_multi.2 - 1.1
        - Man page for attr_multi.

cmd/xfs/man/man2/attr_list.2 - 1.1
        - Man page for attr_list.

cmd/xfs/man/man2/attr_get.2 - 1.1
        - Man page for attr_get.

linux/include/linux/fs.h - 1.53
        - Add attr_{get,set,list,remove} inodeops methods.

linux/include/asm-sparc64/unistd.h - 1.10
linux/include/asm-sparc/unistd.h - 1.8
linux/include/asm-ppc/unistd.h - 1.7
linux/include/asm-mips/unistd.h - 1.6
linux/include/asm-m68k/unistd.h - 1.6
linux/include/asm-i386/unistd.h - 1.11
linux/include/asm-arm/unistd.h - 1.10
linux/include/asm-alpha/unistd.h - 1.9
        - Syscall definitions for attr_{get,set,remove,list}.

linux/fs/stat.c - 1.10
        - Linux VFS layer routines for attr_{get,set,list,remove}.

linux/arch/sparc64/kernel/systbls.S - 1.15
linux/arch/sparc/kernel/systbls.S - 1.13
linux/arch/ppc/kernel/misc.S - 1.17
linux/arch/mips/kernel/syscalls.h - 1.6
linux/arch/mips/kernel/irix5sys.h - 1.5
linux/arch/m68k/kernel/entry.S - 1.9
linux/arch/i386/kernel/entry.S - 1.21
linux/arch/arm/kernel/calls.S - 1.9
linux/arch/alpha/kernel/entry.S - 1.13
linux/arch/sh/kernel/entry.S - 1.9
linux/include/asm-sh/unistd.h - 1.7
linux/arch/ia64/kernel/entry.S - 1.5
linux/arch/ia64/ia32/ia32_entry.S - 1.5
linux/include/asm-ia64/unistd.h - 1.3
linux/include/asm-mips64/unistd.h - 1.3
linux/arch/mips64/kernel/scall_64.S - 1.3
linux/include/asm-s390/unistd.h - 1.2
linux/arch/s390/kernel/entry.S - 1.2
        - Syscall definitions for attr_{get,set,remove,list}.

cmd/xfs/db/attr.c - 1.20
        - Endian fixes for the "attributes" fork.

cmd/xfs/Makefile - 1.16
        - Add "attr" sub-directory.

cmd/xfs/repair/dinode.c - 1.78
cmd/xfs/repair/attr_repair.c - 1.19
linux/fs/xfs/xfs_attr_sf.h - 1.12
linux/fs/xfs/xfs_da_btree.c - 1.111
        - Endian fixes for the "attributes" fork.

linux/fs/xfs/xfs_vnodeops.c - 1.468
        - Put xfs_attr_{set,get,list,remove} back into the vnodeops.

linux/fs/xfs/xfs_inode.c - 1.298
linux/fs/xfs/xfs_attr_leaf.h - 1.25
linux/fs/xfs/xfs_attr_leaf.c - 1.49
        - Endian fixes for the "attributes" fork.

linux/fs/xfs/xfs_trans_buf.c - 1.88
        - Format fixes.

linux/fs/xfs/xfs_attr.c - 1.77
        - Endian fixes for the "attributes" fork.

linux/fs/xfs/pseudo-inc/sys/attributes.h - 1.6
        - Attributes definitions.

linux/fs/xfs/linux/xfs_iops.c - 1.62
        - XFS VFS layer routines for attr_{get,set,list,remove}.

cmd/xfs/include/xfs_attr_leaf.h - 1.2
cmd/xfs/include/xfs_attr_sf.h - 1.2
        - Endian fixes for the "attributes" fork.



<Prev in Thread] Current Thread [Next in Thread>