NAME
setfmac – set MAC label for a file system object
SYNOPSIS
setfmac [-hqR] label file ...
DESCRIPTION
The setfmac utility assigns the specified MAC label to the specified files. The following options are available:
- -R
-
Set the labels on the file hierarchies rooted in the files instead of just the files themselves.
- -h
-
If the file is a symbolic link, change the label of the link rather than the file that the link points to.
- -q
-
Do not print non-fatal warnings during execution.
History
-
FreeBSD 16.0-CURRENT (2026-10-27) to FreeBSD 13.3-RELEASE: the text shown here
-
FreeBSD 13.2-RELEASE to FreeBSD 13.0-RELEASE
-
FreeBSD 12.4-RELEASE
-
FreeBSD 12.3-RELEASE
-
FreeBSD 12.2-RELEASE
-
FreeBSD 12.1-RELEASE
-
FreeBSD 12.0-RELEASE
-
FreeBSD 11.4-RELEASE
-
FreeBSD 11.3-RELEASE
-
FreeBSD 11.2-RELEASE
-
FreeBSD 11.1-RELEASE
-
FreeBSD 11.0-RELEASE
-
FreeBSD 10.4-RELEASE
-
FreeBSD 10.3-RELEASE
-
FreeBSD 10.2-RELEASE
-
FreeBSD 10.1-RELEASE
-
FreeBSD 10.0-RELEASE
-
FreeBSD 9.3-RELEASE
-
FreeBSD 9.2-RELEASE
-
FreeBSD 9.1-RELEASE
-
FreeBSD 9.0-RELEASE
-
FreeBSD 8.4-RELEASE
-
FreeBSD 8.3-RELEASE
-
FreeBSD 8.2-RELEASE
-
FreeBSD 8.1-RELEASE
-
FreeBSD 8.0-RELEASE
-
FreeBSD 7.4-RELEASE
-
FreeBSD 7.3-RELEASE
-
FreeBSD 7.2-RELEASE
-
FreeBSD 7.1-RELEASE
-
FreeBSD 7.0-RELEASE
-
FreeBSD 6.4-RELEASE
-
FreeBSD 6.3-RELEASE to FreeBSD 5.3-RELEASE
-
FreeBSD 5.2.1-RELEASE to FreeBSD 5.1-RELEASE
-
FreeBSD 5.0-RELEASE
-q since FreeBSD 5.3-RELEASE.
-e until FreeBSD 5.0-RELEASE;
-f until FreeBSD 5.0-RELEASE;
-s until FreeBSD 5.0-RELEASE;
-v until FreeBSD 5.0-RELEASE;
-x until FreeBSD 5.0-RELEASE.