Commit Graph

7175 Commits

Author SHA1 Message Date
oster 7464f2ddcd Support on-demand re-scanning all devices to look for
autoconfig RAID sets.  raidctl now supports looking
for autoconfig RAID sets with a new '-L' flag.
2021-08-02 20:31:14 +00:00
oster 6b2ddebee8 Move case 'l' to be in sorted order. No functional change. 2021-08-01 20:26:53 +00:00
andvar 6b362760a4 Remove commented code, including empty if block. Replace tab with whitespace in usage declaration. 2021-07-16 12:09:36 +00:00
christos d66b04778c PR/56270: Matthias Scheler: dump fails on ffsv1: Zero c_extsize since ffsv1
does not support extended attributes.
2021-07-07 11:06:37 +00:00
riastradh 9e8e52123d restore(8): Mark fail_dirtmp __dead to fix clang build. 2021-06-23 14:22:08 +00:00
christos 948b91748c fix proplib deprecation 2021-06-21 03:14:40 +00:00
christos 3151045394 fix proplib deprecation 2021-06-21 03:04:27 +00:00
christos e2325e1f91 Add external attribute dumping and restoring support from FreeBSD.
Does not fully work yet, attributes are being saved and restored correctly,
but don't appear in the restored files somehow.
2021-06-19 13:56:34 +00:00
riastradh 3db1594692 cgdconfig(8): Fail more gracefully than SIGSEGV if shell_cmd fails. 2021-06-16 23:22:08 +00:00
rillig 06d45e62dc ping, ping6: fix comment about ID field
Since ping.c 1.76 and ping6.c 1.58 from 2004-04-22, the ID field
contains random bits instead of a process ID.
2021-06-11 18:47:56 +00:00
dholland fcb4d9ad2e In ping6, there's no blank space in the ping packets by default.
- document that if you use -p to specify a fill pattern you need to
make the packets bigger with -s;

- warn if -p is used and there's not at least one byte of fill space.

PR 56057
2021-06-07 22:13:34 +00:00
dholland 976049247d Teach mount_chfs to understand -o. From Andrius V. 2021-06-07 21:44:35 +00:00
hannken 67464f77e0 Bitmaps (TS_BITS and TS_CLRI) dont use the "c_addr" array as they
cannot have holes.  As bitmaps are written without TS_ADDR records
"c_count" may be larger than the "c_addr" size resulting in a
segmentation violation reading "c_addr" beyond its end.

Compute "blks" for TS_INODE and TS_ADDR only -- its used for multi
volume dumps and the bitmaps must both be on the first volume.
2021-06-07 14:07:32 +00:00
riastradh 3494bf46bc mount_chfs(8): Remove some vestiges of chewiefs name.
Add RCS id while here and nix some needless whitespace.

No functional change intended.

Patch from Andrius V.
2021-06-04 22:41:36 +00:00
simonb a08818a5a6 Remove the warning about autoselecting nfs based on : or @.
Ok jmcneill@, mrg@.
2021-06-04 11:55:45 +00:00
prlw1 6fcffc8303 Make adiantum a first class citizen 2021-06-03 15:40:27 +00:00
christos 141e8cbc5f first check, then copy 2021-05-29 17:41:51 +00:00
christos 81d301652a Add birthtime support and make time 64 bit. 2021-05-29 16:51:25 +00:00
wiz 55f2c23495 Avoid using Pq.
In this case, the parentheses were wrong when a line was extended.
2021-05-27 07:03:27 +00:00
mrg 41c1322c84 move the basic history i wrote from raidctl(8) to raid(4), and
fix the x86 (thanks simonb) and sparc bootable dates, a couple
of spelling errors.
2021-05-27 06:53:37 +00:00
mrg debaf4757e update the list of platforms supporting loading kernels from raid.
expand the HISTORY section to include notable RF moments in netbsd.
bump date.
2021-05-26 08:23:18 +00:00
thorpej f3e7a08f5b Make sure the output packet buffer and the control message buffer
are aligned.

Fixes bin/56198.
2021-05-23 07:17:50 +00:00
yamaguchi f0101d0e08 Add a new link-aggregation pseudo interface named lagg(4)
- FreeBSD's lagg(4) based implementation
 - MP-safe and MP-scalable
2021-05-17 04:07:41 +00:00
yamaguchi fe63e5c41b Added a keyword to change keepalive interval 2021-05-14 09:08:59 +00:00
yamaguchi 428f5be81d Make authproto not change when "authproto" is not in command option 2021-05-11 06:58:03 +00:00
yamaguchi aa069c4991 Added keywords that are ipcp, noipcp, ipv6cp, noipv6cp
for configuring NCP
2021-05-11 05:51:42 +00:00
nia cb91ad3daa cgdconfig.8: use gpt in examples, it's more versatile for this use case 2021-04-30 21:07:34 +00:00
yamaguchi 861187a72c Add a new option to enable SPPP_AUTHFLAG_PASSIVEAUTHPROTO flag 2021-04-23 02:28:40 +00:00
maya 1b70e4604b The -n flag is useless with -g, don't mention it.
From rudolf in PR misc/36243
2021-04-18 19:56:09 +00:00
mrg 90cb3f8f93 vax vs gcc: fsdb.c loses. also build this with -O0. 2021-04-15 01:56:00 +00:00
mrg 8b5e691ee5 build lfs_node.c with -O3 on ia64 to avoid assembler overflow issues. 2021-04-14 08:31:24 +00:00
mrg 97b36aa771 more GCC 10 fixes.
mDNSResponder: another wrong return local address

dhcp: ignore a seemingly impossible stringop overflow

hpacel: avoid maybe uninitialised error that is wrong.

rsh: avoid impossible malloc(0)

udf: cast pointers through (uintptr_t) to fool invalid boundary checks
2021-04-13 06:25:48 +00:00
mrg 5132a436cc properly terminate a buffer after strncpy(). 2021-04-12 09:18:14 +00:00
simonb c84bb8ac7c Update usage message to reflect reality. 2021-04-07 14:45:28 +00:00
riastradh 8603ff52c2 Clarify wording further based on private feedback. 2021-04-06 22:02:40 +00:00
riastradh cfdaa93ec8 Clarify security model of rndctl -S files. 2021-04-06 12:32:39 +00:00
nia 9ff36a0c40 rndctl(8): to -l, add a "samples" column separate to "bits"
rename the "bits" column to "estimated bits".

this provides a clear indication when a source is being used, but
not increasing the entropy counter.

this commit fixes an unrelated bug where verbose output functioned
incorrectly when a class of device was specified with -t.

while here, reduce code duplication.

"gofer it" riastradh@
2021-04-04 13:37:17 +00:00
nia 8a1f05e369 rndctl(8): remove no-longer-useful stats from -s
these are always 0 now.

"gofer it" riastradh@
2021-04-04 12:50:31 +00:00
nia 2843dad115 rndctl: make -l's "Flags" field reflect current reality
don't print "legacy options" RND_FLAG_ESTIMATE_TIME and
"RND_FLAG_ESTIMATE_VALUE"

only print "estimate" if we have actually counted any bits from
something, since it's no longer really possible to "enable estimation".

ideally, there should also be a "samples" field so it's clear
collected bits are not being counted.
2021-04-02 07:17:56 +00:00
nia a712f2f75f rndctl.8: reflect current reality 2021-04-02 07:04:05 +00:00
rin 623d9b5490 Fix typo: s/--r/-r/ 2021-03-14 02:56:51 +00:00
msaitoh 44f4353477 s/skiping/skipping/ 2021-03-11 01:13:11 +00:00
christos 1261169451 PR/50933: Uwe Toenjes: Document hardware limitations 2021-03-09 14:39:43 +00:00
martin d4bd079f4d Make IEEE802.11 support optional 2021-03-01 16:47:48 +00:00
jmcneill e60d6bc1d4 Use 32K as the default NFSv3 read and write data sizes on aarch64, matching
i386 and amd64.
2021-01-24 12:51:32 +00:00
mrg 1e8d1e7cf5 call it "kernel object linker module framework" not just
"module framework".  the latter is generic enough to
also mean the old ld(1) linked loadable kernel modules.
2021-01-17 00:17:40 +00:00
mlelstv 3b6e7d0308 Also replace calls to dirname. 2021-01-09 16:25:19 +00:00
mlelstv 1f9fa21d0b Remove need for awk/sed/readlink tools. 2021-01-09 14:00:05 +00:00
uwe 4c353c3815 route(8): group RTF_GATEWAY and ~RTF_GATEWAY (-iface).
While here, tweak RTF_GATEWAY description.  Passive voice elsewhere in
this table is used to talk about the routes themselves, while here
it's about packets.
2021-01-02 22:02:27 +00:00
uwe ba49a14327 route(8): be consistent about capitalization. 2021-01-02 20:36:02 +00:00