OpenBSD CVS

CVS log for src/usr.sbin/config/ukcutil.c


[BACK] Up to [local] / src / usr.sbin / config

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Wed Sep 6 05:00:37 2023 UTC (9 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.26: +1 -3 lines
Diff to previous 1.26 (colored)

remove unused variable

Revision 1.26 / (download) - annotate - [select for diffs], Sat Nov 20 03:13:37 2021 UTC (2 years, 6 months ago) by jcs
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.25: +18 -52 lines
Diff to previous 1.25 (colored)

When cmdfile is specified, use lines from it for all input, not just
commands.  This allows complex actions like changing device
parameters to be done with a command file.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Sep 6 21:30:31 2019 UTC (4 years, 9 months ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.24: +1 -18 lines
Diff to previous 1.24 (colored)

options(4), config(8): drop dst/timezone knobs; ok kettenis@ deraadt@ jca@

Revision 1.24 / (download) - annotate - [select for diffs], Tue May 14 13:44:25 2019 UTC (5 years ago) by tedu
Branch: MAIN
Changes since 1.23: +50 -1 lines
Diff to previous 1.23 (colored)

allow specifying a cmdfile instead of trying to pipe in commands for -ef.
ok deraadt

Revision 1.23 / (download) - annotate - [select for diffs], Wed Sep 27 15:14:52 2017 UTC (6 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.22: +28 -24 lines
Diff to previous 1.22 (colored)

config -e's adds new devices to an extra locator array, which is accounted
using a variable which started at 0 and hence got planted in .bss.
Refactor that variable to begin at the maximum and decrease, such that it
lands in .data instead.
ok jsg

Revision 1.22 / (download) - annotate - [select for diffs], Thu Oct 27 14:32:10 2016 UTC (7 years, 7 months ago) by tb
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.21: +1 -6 lines
Diff to previous 1.21 (colored)

Remove OLDSCSIBUS conditional. Unused since it was imported 21 years ago.

ok natano

Revision 1.21 / (download) - annotate - [select for diffs], Mon Sep 21 14:45:14 2015 UTC (8 years, 8 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.20: +76 -72 lines
Diff to previous 1.20 (colored)

Make UKC handle device locators as longs

ok miod@

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 2 22:20:50 2011 UTC (12 years, 8 months ago) by edd
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)

Fix some minor things in config(8):
 * As haesbaert suggests, correctly order include files.
 * Found some old style function defs. Updated.
 * Found a prototype inside a function. Moved.

OK nicm@

Revision 1.19 / (download) - annotate - [select for diffs], Wed Apr 6 11:36:26 2011 UTC (13 years, 2 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'
for chars.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:51 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.17: +1 -5 lines
Diff to previous 1.17 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.17 / (download) - annotate - [select for diffs], Mon Mar 24 21:35:03 2008 UTC (16 years, 2 months ago) by maja
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.16: +31 -8 lines
Diff to previous 1.16 (colored)

Make it possible to disable/enable pseudo devices in UKC, config file and
at config -e. -moj  ok deraadt@

Revision 1.16 / (download) - annotate - [select for diffs], Sun Mar 23 15:00:29 2008 UTC (16 years, 2 months ago) by maja
Branch: MAIN
Changes since 1.15: +10 -8 lines
Diff to previous 1.15 (colored)

Done mark a disable of a disabled device as an change (and same with enable).
Reported by jj@ a long time ago. -moj

Revision 1.15 / (download) - annotate - [select for diffs], Sat Mar 8 01:23:16 2008 UTC (16 years, 3 months ago) by simon
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

avoid request for input if lines are set to zero

ok deraadt@, sthen@

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 4 18:30:05 2004 UTC (20 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.13: +79 -82 lines
Diff to previous 1.13 (colored)

knf and lint

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 2 21:19:03 2003 UTC (21 years ago) by maja
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.12: +2 -7 lines
Diff to previous 1.12 (colored)

remove clause 3 and 4. -moj

Revision 1.12 / (download) - annotate - [select for diffs], Fri Sep 6 21:10:20 2002 UTC (21 years, 9 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.11: +34 -80 lines
Diff to previous 1.11 (colored)

ansi
ok deraadt@

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 14 02:59:41 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

kill sprintf

Revision 1.10 / (download) - annotate - [select for diffs], Thu May 2 12:59:54 2002 UTC (22 years, 1 month ago) by miod
Branch: MAIN
Changes since 1.9: +33 -5 lines
Diff to previous 1.9 (colored)

In UKC, when adding a fixed unit device (foo0) by cloning a star device
(foo*), be sure to update all cf_starunit1 fields for related star devices,
so that they will not compete for the foo0 probe.

This fixes the new sparc bsd.scsi3 behaviour.

Tested by brad@ and myself, ok maja@

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 23 13:30:24 2002 UTC (22 years, 2 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

small cleanups:
ansi prototypes,
help formating,
common code to handle integer parameters.

Let SystemV shm parameters be settable.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Dec 10 23:15:34 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.7: +4 -2 lines
Diff to previous 1.7 (colored)

handle "q" input better; bug reported in 2244

Revision 1.7 / (download) - annotate - [select for diffs], Wed Dec 5 10:11:23 2001 UTC (22 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +202 -204 lines
Diff to previous 1.6 (colored)

more free KNF from maja, though this was hard to do

Revision 1.6 / (download) - annotate - [select for diffs], Sun Feb 4 20:42:12 2001 UTC (23 years, 4 months ago) by maja
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.5: +151 -12 lines
Diff to previous 1.5 (colored)

Add support for pseudo devices. This is done by adding more information
in ioconf.c. The only thing that can be done with pseudo devices is
changing the number of created units. -moj ok deraadt@

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 31 22:41:32 2001 UTC (23 years, 4 months ago) by maja
Branch: MAIN
Changes since 1.4: +20 -3 lines
Diff to previous 1.4 (colored)

Dont write kernel if nothing has changed. ok @deraadt. -moj

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 15 23:53:34 2001 UTC (23 years, 4 months ago) by maja
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Fix bug that sometime ignored first command in -e mode. -moj

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 8 21:42:40 2000 UTC (23 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.2: +11 -3 lines
Diff to previous 1.2 (colored)

permit changing flags

Revision 1.2 / (download) - annotate - [select for diffs], Sat Jan 8 23:23:37 2000 UTC (24 years, 5 months ago) by d
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.1: +13 -2 lines
Diff to previous 1.1 (colored)

Allow UKC to change tz with 'timezone' command.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 4 20:00:52 1999 UTC (24 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6

config -e support; ukc from maja@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.