summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syspatch/syspatch.8
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2016-11-10 16:14:47 +0000
committerajacoutot <ajacoutot@openbsd.org>2016-11-10 16:14:47 +0000
commit4b940db2d3280c5bdd5af6b17d1e3f4293a88799 (patch)
treef76e2ebcfc4a2a150b8671bb4e171b3e7fe0c1ec /usr.sbin/syspatch/syspatch.8
parentmissing semicolon at end of rule. yacc doesn't seem to mind, though. (diff)
downloadwireguard-openbsd-4b940db2d3280c5bdd5af6b17d1e3f4293a88799.tar.xz
wireguard-openbsd-4b940db2d3280c5bdd5af6b17d1e3f4293a88799.zip
Extend documentation a bit. It'll probably need some adjustments soon.
Diffstat (limited to 'usr.sbin/syspatch/syspatch.8')
-rw-r--r--usr.sbin/syspatch/syspatch.824
1 files changed, 21 insertions, 3 deletions
diff --git a/usr.sbin/syspatch/syspatch.8 b/usr.sbin/syspatch/syspatch.8
index d8bc39f616c..0d7158d9a03 100644
--- a/usr.sbin/syspatch/syspatch.8
+++ b/usr.sbin/syspatch/syspatch.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: syspatch.8,v 1.7 2016/11/08 15:36:50 ajacoutot Exp $
+.\" $OpenBSD: syspatch.8,v 1.8 2016/11/10 16:14:47 ajacoutot Exp $
.\"
.\" Copyright (c) 2016 Antoine Jacoutot <ajacoutot@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 8 2016 $
+.Dd $Mdocdate: November 10 2016 $
.Dt SYSPATCH 8
.Os
.Sh NAME
@@ -29,15 +29,33 @@ is a utility to fetch, verify, install and revert
.Ox
binary patches.
.Pp
+When run without any option,
+.Nm syspatch
+will apply all missing patches by saving the original release kernel if needed,
+creating a rollback tarball containing the files it is about to replace,
+then extracting and installing all files contained in the syspatch tarball.
+.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl c
-List available patches.
+List available patches, suitable for
+.Xr cron 8 .
.It Fl l
List installed patches.
.It Fl r
Revert the most recently installed patch.
.El
+.Sh FILES
+.Bl -tag -width "/var/syspatch/${OSREV}/*.tgz" -compact
+.It Pa /bsd.rollback${OSrev}
+Backup of the
+.Pa /bsd
+release kernel.
+.It Pa /var/syspatch/${OSREV}/*.sig
+Information on installed patches.
+.It Pa /var/syspatch/${OSREV}/*.tgz
+Rollback tarballs for reverting patches.
+.El
.Sh SEE ALSO
.Xr signify 1 ,
.Xr release 8