Index | Thread | Search

From:
Mikolaj Kucharski <mikolaj@kucharski.name>
Subject:
Clarify -f option in dbupdate(8), tune -n
To:
tech@openbsd.org
Date:
Fri, 23 Oct 2026 12:02:36 +0000

Download raw body.

Thread
Hi.

When I read explanation of -f option for dbupdate, it was not clear to
me what means "normally only updates new files". What means "new" in
this context. Are missing files new or outdated are new too?

Proposed patch for clarification. I also tuned -n option, however -n was
clear for me, so it can stay as is.


Index: dbupdate.8
===================================================================
RCS file: /cvs/src/usr.sbin/dbupdate/dbupdate.8,v
diff -u -p -r1.3 dbupdate.8
--- dbupdate.8	21 Oct 2026 01:49:32 -0000	1.3
+++ dbupdate.8	23 Oct 2026 11:58:50 -0000
@@ -48,11 +48,10 @@ and
 The options are as follows:
 .Bl -tag -width Ds
 .It Fl f
-.Nm
-normally only updates new files.
-This option forces download and installation.
+Force download and reinstallation of all databases,
+even if they are already up to date.
 .It Fl n
-Dry run (prints out what it would have done).
+Report which databases would be installed without installing them.
 .Sh FILES
 .Bl -tag -width Ds
 .It Pa /var/dbupdate


-- 
Regards,
 Mikolaj