rmextattr.8 (c29930cfd69c953b774df9606f9f1ecfadbb6431) rmextattr.8 (2b8f2ab90d5b071bc39277f7b5ea3f048cedf69a)
1.\"-
2.\" Copyright (c) 2000, 2001 Robert N. M. Watson
3.\" Copyright (c) 2002 Networks Associates Technology, Inc.
4.\" All rights reserved.
5.\"
6.\" This software was developed for the FreeBSD Project by Poul-Henning
7.\" Kamp and Network Associates Laboratories, the Security Research Division
8.\" of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035

--- 94 unchanged lines hidden (view full) ---

103.It Fl n
104.Dv ( NUL Ns
105-terminate.)
106.Dv NUL Ns
107-terminate the extent content written out.
108.It Fl q
109(Quiet.)
110Do not print out the pathname and suppress error messages.
1.\"-
2.\" Copyright (c) 2000, 2001 Robert N. M. Watson
3.\" Copyright (c) 2002 Networks Associates Technology, Inc.
4.\" All rights reserved.
5.\"
6.\" This software was developed for the FreeBSD Project by Poul-Henning
7.\" Kamp and Network Associates Laboratories, the Security Research Division
8.\" of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035

--- 94 unchanged lines hidden (view full) ---

103.It Fl n
104.Dv ( NUL Ns
105-terminate.)
106.Dv NUL Ns
107-terminate the extent content written out.
108.It Fl q
109(Quiet.)
110Do not print out the pathname and suppress error messages.
111When given twice, do not print a trailing newline.
111When given twice, print only the attribute value, with no trailing newline.
112.It Fl s
113(Stringify.)
114Escape nonprinting characters and put quotes around the output.
115.It Fl x
116(Hex.)
117Print the output in hexadecimal.
118.El
119.Sh EXAMPLES
120.Bd -literal
121setextattr system md5 `md5 -q /boot/kernel/kernel` /boot/kernel/kernel
122md5 -q /boot/kernel/kernel | setextattr -i system md5 /boot/kernel/kernel
123getextattr system md5 /boot/kernel/kernel
112.It Fl s
113(Stringify.)
114Escape nonprinting characters and put quotes around the output.
115.It Fl x
116(Hex.)
117Print the output in hexadecimal.
118.El
119.Sh EXAMPLES
120.Bd -literal
121setextattr system md5 `md5 -q /boot/kernel/kernel` /boot/kernel/kernel
122md5 -q /boot/kernel/kernel | setextattr -i system md5 /boot/kernel/kernel
123getextattr system md5 /boot/kernel/kernel
124getextattr -qq system md5 /boot/kernel/kernel | od -x
124lsextattr system /boot/kernel/kernel
125rmextattr system md5 /boot/kernel/kernel
126.Ed
127.Sh SEE ALSO
128.Xr extattr 2 ,
129.Xr extattr 3 ,
130.Xr extattrctl 8 ,
131.Xr extattr 9
132.Sh HISTORY
133Extended attribute support was developed as part of the
134.Tn TrustedBSD
135Project,
136and introduced in
137.Fx 5.0 .
138It was developed to support security extensions requiring additional labels
139to be associated with each file or directory.
140.Sh AUTHORS
141.An Robert N M Watson
142.An Poul-Henning Kamp
125lsextattr system /boot/kernel/kernel
126rmextattr system md5 /boot/kernel/kernel
127.Ed
128.Sh SEE ALSO
129.Xr extattr 2 ,
130.Xr extattr 3 ,
131.Xr extattrctl 8 ,
132.Xr extattr 9
133.Sh HISTORY
134Extended attribute support was developed as part of the
135.Tn TrustedBSD
136Project,
137and introduced in
138.Fx 5.0 .
139It was developed to support security extensions requiring additional labels
140to be associated with each file or directory.
141.Sh AUTHORS
142.An Robert N M Watson
143.An Poul-Henning Kamp