Blame
Date:
Sun Sep 11 11:39:17 2016 UTC
Message:
take care of AUTHORS
01
2016-05-15
dev1
# Snaps
02
2015-05-06
f
03
2016-05-15
dev1
An admin utility designed for the [OpenBSD operating system](http://www.openbsd.org) and published under the BSD licence.
04
2015-05-06
f
05
2016-05-15
dev1
## Purpose
06
2016-05-15
dev1
07
2016-05-15
dev1
It is made for users who use [-current](https://www.openbsd.org/faq/current.html) and jump from snapshot to snapshot.
08
2016-05-15
dev1
09
2016-05-15
dev1
It will help you to download the needed bsd.rd, check it and move it to the right place before rebooting.
10
2016-05-15
dev1
A backup of your last bsd.rd is made. All steps are verbose.
11
2016-05-15
dev1
12
2016-05-15
dev1
## Usage
13
2016-05-15
dev1
14
2016-05-15
dev1
Snaps will use your `/etc/pkg.conf` file to setup automatically the `$MIRROR` variable.
15
2016-05-15
dev1
16
2016-05-15
dev1
You can also want to setup this variable manually:
17
2016-05-15
dev1
18
2016-05-15
dev1
```
19
2016-05-15
dev1
$ doas MIRROR=http://another/openbsd/snapshot/mirror/YOUR_ARCH snaps -G
20
2016-05-15
dev1
```
21
2016-05-15
dev1
22
2016-05-15
dev1
### -g
23
2016-05-15
dev1
24
2016-05-15
dev1
Fetch and check (SHA256 and signify) bsd.rd from $MIRROR (no need to be root for that one)
25
2016-05-15
dev1
26
2016-05-15
dev1
```
27
2016-05-15
dev1
$ snaps -g
28
2016-05-15
dev1
```
29
2016-05-15
dev1
30
2016-05-15
dev1
### -G
31
2016-05-15
dev1
32
2016-05-15
dev1
Fetch, check bsd.rd from $MIRROR then, move it to the right place, backup your last bsd.rd, print some reminders and reboot.
33
2016-05-15
dev1
34
2016-05-15
dev1
```
35
2016-05-15
dev1
$ doas snaps -G
36
2016-05-15
dev1
```
37
2016-05-15
dev1
38
2016-05-15
dev1
### -l
39
2016-05-15
dev1
40
2016-05-15
dev1
List date and $MIRROR of the 3 last -G from /var/log/snaps.log
41
2016-05-15
dev1
42
2016-05-15
dev1
```
43
2016-05-15
dev1
$ snaps -l
44
2016-05-15
dev1
2016-04-30 22:16 FROM http://ftp.fr.openbsd.org/pub/OpenBSD/snapshots/amd64/
45
2016-05-15
dev1
2016-05-10 11:03 FROM http://mirrors.ircam.fr/pub/OpenBSD/snapshots/amd64/
46
2016-05-15
dev1
2016-05-14 11:11 FROM http://ftp.fr.openbsd.org/pub/OpenBSD/snapshots/amd64/
47
2016-05-15
dev1
```
48
2016-05-15
dev1
49
2016-06-11
dev1
### -p
50
2016-06-11
dev1
51
2016-06-11
dev1
Update your -current ports tree.
52
2016-06-11
dev1
53
2016-06-11
dev1
```
54
2016-06-11
dev1
$ doas snaps -p
55
2016-06-11
dev1
```
56
2016-06-11
dev1
57
2016-05-15
dev1
### -h
58
2016-05-15
dev1
59
2016-05-15
dev1
Print help and exit. It also print the content of the MIRROR variable based upon /etc/pkg.conf for a quick look.
60
2016-05-15
dev1
61
2016-05-15
dev1
```
62
2016-05-15
dev1
$ snaps -h
63
2016-05-15
dev1
```
Frédéric Galusik