Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. chattr is a
command in the Linux operating system that allows a user to set certain
attributes on a file residing on an ext2-based filesystem. chflags is
the analogous command on modern BSD systems, including Mac OS X. The
commands are similar to the attrib command on DOS, OS/2 and Microsoft
Windows. Other Unix systems have no analogous commands; Solaris supports
extended file attributes, but there are no user level commands for
setting or changing them, and the chatr command in HP-UX, and chattr in
AIX have unrelated functions.