christos
0bcb0c670a
use strtonum from libc
2015-01-29 03:31:35 +00:00
christos
f47593bb0f
use strtonum from libc (Kamil Rytarowski)
2015-01-29 03:28:19 +00:00
christos
50254b7c23
fix tools build.
2015-01-23 20:28:24 +00:00
wiz
91b18a3e92
Pull into this year.
2015-01-23 03:31:58 +00:00
christos
11e0521fb7
attempt to reset file flags when -rr
2015-01-23 02:27:01 +00:00
snj
362cd6ee40
Handle empty input gracefully by simply jumping back to the config menu.
2015-01-20 21:51:05 +00:00
christos
e701837bc1
reflect reality about filesystems supported.
2015-01-12 19:50:47 +00:00
christos
d79005d78a
PR/49559: Christian Brueffer: Fix typo maxbpf instead of maxbpg.
2015-01-12 19:50:25 +00:00
joerg
24a21ee034
st_nlink on Linux is not int, so add an explicit cast.
2015-01-07 20:50:36 +00:00
christos
4e2babb88b
load the config file before bpfjit so that we can disable the warning.
2015-01-04 20:02:15 +00:00
joerg
a668c47e7f
Don't depend on yacc to include stdlib.h or string.h.
2015-01-04 18:30:05 +00:00
christos
52e8eb1316
Fix the 3 programs that use DTYPE_ (disklabel disk types) constants from the
...
kernel. Two of them are inside ifdefs.
2015-01-02 19:46:02 +00:00
abs
40a37f0d92
Rather than scatter set_swap() calls wrapped in ram size checks through
...
md_post_disklabel() and md_pre_update(), abstract them out to an MI
set_swap_if_low_ram() and call from the appropriate MI places.
Now all platforms add swap if the system has <= 32M of RAM.
2015-01-02 19:43:13 +00:00
martin
3cbe7ed1ad
Revise previous: with RUN_SILENT there is never a good reason to create
...
the output window unless there is actually output to display.
2014-12-30 10:10:22 +00:00
apb
f4970596ba
rc_obsolete_vars is a list of pairs, so format it with one pair per line.
2014-12-30 07:02:29 +00:00
martin
099d1616af
If we launch a program with RUN_SILENT, give it more than two seconds to
...
run before we create an output window. On a swapping VAX it can take
seriously longer, and we get interactive status display even if the program
did not produce any error output otherwise.
2014-12-29 14:43:06 +00:00
martin
44d35daebe
We can not rely on the existence of the "gpt" binary on install media -
...
make installation work without it (and without strange errors) again.
2014-12-28 12:05:27 +00:00
martin
42a1d150e6
Move bogusly merged files over to new location.
2014-12-28 11:51:10 +00:00
christos
a08b1ebd50
allow turning off the bpf jit loading.
2014-12-26 22:44:54 +00:00
rmind
027d5f223a
npfctl(8): attempt to preload bpfjit kernel module and print the
...
warning on failure.
2014-12-26 20:44:38 +00:00
wiz
2eb17e07ec
Use Nx.
2014-12-21 21:10:13 +00:00
christos
e32b8a4e6c
PR/49428: Travis Paul: Document x option.
2014-12-21 20:14:33 +00:00
prlw1
f44489f8dc
MKINET6=no build fixes
...
http://mail-index.netbsd.org/tech-net/2014/12/13/msg004898.html
2014-12-20 13:15:48 +00:00
jnemeth
a0380aebe4
add powerpc variants to the list of potentially obsolete modules to check
2014-12-16 05:30:40 +00:00
msaitoh
d23838029a
Fix a bug that an unknown command is printed as "(null)".
...
Reported by Fredrik Pettai.
2014-12-16 04:07:40 +00:00
uebayasi
e8f227f2a9
Fix previous; obsolete vars are pairs.
2014-12-13 02:35:02 +00:00
uebayasi
2ae7b0d687
postinstall(8): Define long item lists as variables to improve future diff-ability.
2014-12-13 02:30:39 +00:00
manu
d5cd8e94ec
Survive if filesystem installs a signal handler
...
We tested for signal(3) to return 0 for success, which is incorrect:
signal(3) returns the previous handler. Success should be tested as
!= SIG_ERR, otherwise we fail when a signal handler was previously
installed by perfused(8) parrent process, which happens to be the
FUSE filesystem.
2014-12-12 09:58:39 +00:00
msaitoh
cbb847784d
Don't print the microcode version if the ioctl failed to not to
...
print garbage.
2014-12-11 12:21:44 +00:00
msaitoh
5723de76d5
Add newline if ci_tsc_freq is 0 to not to break the output.
2014-12-11 10:07:45 +00:00
christos
bc9d1499ae
Memset the whole cfg array, not piecemeal because otherwise you'll end
...
up with random data depending on the options set.
XXX: pullup 7
2014-12-05 19:24:41 +00:00
christos
6994331daa
c99 initializers
2014-12-03 03:44:45 +00:00
uebayasi
a7d5e3a9dc
Handle obsolete xen/pae-xen kernel modules; reported by John D. Baker.
2014-12-01 02:08:34 +00:00
tsutsui
4b574ec157
Terminate messages with a newline so that dialog box won't overwrite messages.
...
Should be pulled up to netbsd-7 (and netbsd-6) branches.
2014-11-24 15:22:59 +00:00
wiz
4cb289deb0
Bump date. Quote minus with a backslash, for PostScript/PDF output.
2014-11-20 13:16:05 +00:00
msaitoh
ce7f2410b4
Fix manual and usage bug. The ucode command can take [cpuno] argument.
2014-11-20 12:49:13 +00:00
msaitoh
1ce97493fe
Move some printf()s from cpu_probe_base_features() to identifycpu().
...
Those printf()s are used for "identify" command but cpu_probe_base_features()
is shared by ucodeupdate_check(), too. This change fixes a problem that
the "ucode" command print extra output.
2014-11-20 10:31:10 +00:00
joerg
7c080d8b84
Show display if it is not empty.
2014-11-15 02:09:18 +00:00
christos
039e20963e
Use VAX_LABELOFFSET here; It needs to be the machine-specific one. Thanks
...
to gcc-4.8 for discovering the bug and to Atari for having a LABELOFFSET of
516 > 512 :-)
XXX: Perhaps we should put all those constants in <sys/bootblock.h> instead
of spreading them around.
2014-11-13 16:02:25 +00:00
apb
4a6eb64432
Synchronise the "-s" part of the usage message with postinstall.
...
A colon-separated list of tgz files is no longer accepted; you
must use multiple -s options instead.
2014-11-13 07:11:06 +00:00
apb
48c555dba9
Fix tab/space inconsistency in comment.
2014-11-12 19:41:24 +00:00
apb
87504aab72
Change the order of arguments to check_ids, placing the two file names
...
adjacent to each other. Also add a comment explaining the "start"
argument and the "SKIP" special value.
2014-11-12 19:31:05 +00:00
martin
146a7e98a7
Make check_ids take an additional argument (the corresponding source
...
file) and grep that on error for the missing information, so the user
gets all the info needed how to "FIX MANUALLY".
2014-11-11 19:41:38 +00:00
skrll
519271bdcb
kern/49379: Hypervisor's name typo
2014-11-11 08:23:17 +00:00
snj
5b90a227cf
"Encryption" has an r in it.
2014-11-10 01:05:10 +00:00
msaitoh
9a87c4ed9d
Add code to detect hypervisor. The code was based from FreeBSD and ported
...
by Kengo Nakahara.
2014-11-07 05:37:05 +00:00
snj
6f0923dea4
Thankfully, apropos returns all results by default these days. Remove
...
outdated sentence referring to the original (well, old new) limit of 10.
2014-11-04 08:05:21 +00:00
christos
859e855ece
fix pasto; thanks John-Mark Gurney...
2014-10-27 21:46:45 +00:00
martin
ad279af689
On architectures that have no BIOS (and so do not set a BIOS geometry)
...
we need to initialize the globals bsec, bcyl and bhead before using
them.
2014-10-21 18:19:17 +00:00
snj
f0a7346d21
src is too big these days to tolerate superfluous apostrophes. It's
...
"its", people!
2014-10-18 08:33:23 +00:00