chattr man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



chattr(1)							     chattr(1)

NAME
     chattr, lsattr - change or list file attributes

SYNOPSIS
     chattr [-R|-D] [+-rdtPn] file ...
     lsattr [-R|-D] file ...

DESCRIPTION
     chattr changes the file attributes on an XFS filesystem.  This mechanism
     enables and disables particular properties for individual files and
     directories.

     The  operator  `+'	 causes	 the  selected attributes to be added to the
     existing attributes of the files; `-'  causes them	 to  be	 removed.

     The letters `rdtPn' select the new attributes for the files:  realtime
     (r), no dump (d), realtime inheritance (t), project inheritance (P), and
     no symbolic links (n).

     lsattr lists the current set of attributes of a file.

OPTIONS
     -R	  Recursively change or list attributes of directories and their
	  contents.  Symbolic links encountered during recursive directory
	  traversals are ignored.

     -D	  Recursively change or list attributes of directories only.

ATTRIBUTES
     (r)       The file is a realtime file.

     (d)       The file should be skipped by backup utilities.

     (t)       Realtime inheritance bit - new files created in the directory
	       will be automatically realtime, and new directories created in
	       the directory will inherit the inheritance bit.

     (P)       New files created in the directory will have the project ID of
	       the directory, and new directories created in the directory
	       will inherit the inheritance bit.

     (n)       Symbolic links cannot be created in this directory.

EXAMPLES
     Some examples of modifying a files attributes:

	  chattr +d file

	  chattr -d file

									Page 1

chattr(1)							     chattr(1)

     Firstly mark file to be ignored by xfsdump(1M), then clear the flag, such
     that file is backed up on subsequent dumps.

SEE ALSO
     fcntl(2), xfs(4).

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net