rmextattr man page on FreeBSD

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

RMEXTATTR(8)		  BSD System Manager's Manual		  RMEXTATTR(8)

     getextattr, lsextattr, rmextattr, setextattr — manipulate extended

     getextattr [-fhqsx] attrnamespace attrname filename ...
     lsextattr [-fhq] attrnamespace filename ...
     rmextattr [-fhq] attrnamespace attrname filename ...
     setextattr [-fhnq] attrnamespace attrname attrvalue filename ...

     These utilities are user tools to manipulate the named extended
     attributes on files and directories.  The attrnamespace argument should
     be the namespace of the attribute to retrieve: legal values are user and
     system.  The attrname argument should be the name of the attribute,
     filename the name of the target file or directory, attrvalue a string to
     store in the attribute.

     The following options are available:

     -f	     (Force.)  Ignore errors on individual filenames and continue with
	     the remaining arguments.

     -h	     (No follow.)  If the file is a symbolic link, perform the opera‐
	     tion on the link itself rather than the file that the link points

     -n	     (NUL-terminate.)  NUL-terminate the extent content written out.

     -q	     (Quiet.)  Do not print out the pathname and suppress error mes‐

     -s	     (Stringify.)  Escape nonprinting characters and put quotes around
	     the output.

     -x	     (Hex.)  Print the output in hexadecimal.

     setextattr system md5 `md5 -q /boot/kernel/kernel` /boot/kernel/kernel
     getextattr system md5 /boot/kernel/kernel
     lsextattr system /boot/kernel/kernel
     rmextattr system md5 /boot/kernel/kernel

     extattr(2), extattr(3), extattrctl(8), extattr(9)

     Extended attribute support was developed as part of the TrustedBSD
     Project, and introduced in FreeBSD 5.0.  It was developed to support
     security extensions requiring additional labels to be associated with
     each file or directory.

     Robert N M Watson
     Poul-Henning Kamp

     The setextattr utility can only be used to set attributes to strings.

BSD				August 30, 2000				   BSD

List of man pages available for FreeBSD

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]
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