diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2016-11-10 16:14:48 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2016-11-10 16:14:48 +0000 |
commit | 8eb0fd931da31d1e8f5f462270564567d730a6ec (patch) | |
tree | d537918cf465fafe1c12111e0a73c3357d6bdaca /usr.sbin | |
parent | 642eb526b44f3654eda76129e06dd720100efe14 (diff) |
Extend documentation a bit. It'll probably need some adjustments soon.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/syspatch/syspatch.8 | 24 |
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 |