Commit Graph

12854 Commits

Author SHA1 Message Date
christos 5cba22b413 include bsd.init.mk to avoid:
make: Bad conditional expression ` != "no"' in  != "no"? -DINET6 :
2020-08-30 21:12:45 +00:00
tih 0e6edd4d77 Show the time of the latest handshake properly formatted. 2020-08-28 17:17:53 +00:00
christos 566d2c2d32 missing quote 2020-08-28 15:26:23 +00:00
christos 608106539e Restrict npf.conf fixes to "blacklistd" -> "blocklistd" 2020-08-28 15:25:16 +00:00
rjs aaf1e01132 Use wrapper name for call to setsockopt(2), NFC for non-rump builds. 2020-08-28 00:19:37 +00:00
riastradh b13ab56848 npftest: Wait at least one tick in each gc busy wait iteration.
Otherwise the busy wait loop runs a little too fast for the gc about
half the times I run the test.

XXX We should really arrange mstohz to round up!
2020-08-27 18:51:20 +00:00
riastradh fdedb3494c npf: Make sure to initialize portmap_lock only once.
PR kern/55586
2020-08-27 18:50:25 +00:00
riastradh 25154f5f0c Clarify wg(4)'s relation to WireGuard, pending further discussion.
Still planning to replace wgconfig(8) and wg-keygen(8) by one wg(8)
tool compatible with wireguard-tools; update wg(4) for the minor
changes from the 2018-06-30 spec to the 2020-06-01 spec; &c.  This just
clarifies the current state of affairs as it exists in the development
tree for now.

Mark the man page EXPERIMENTAL for extra clarity.
2020-08-26 16:03:40 +00:00
riastradh c0eeeb4aa7 wgconfig does not need libcrypt. 2020-08-26 15:49:07 +00:00
gson 57091f5040 Fix indentation 2020-08-26 13:35:12 +00:00
gson 460a8a88e0 Remove trailing whitespace 2020-08-26 13:33:42 +00:00
gson 69570b99d6 Remove superfluous empty line 2020-08-26 13:32:56 +00:00
martin e11752f35f Use %zu for size_t 2020-08-21 17:51:31 +00:00
uwe d7ff38016a Mark up a few missed equal signs as literal. 2020-08-21 03:44:58 +00:00
uwe 001a378b00 Markup fixes. 2020-08-21 03:13:30 +00:00
uwe 595cfacbca Fix synopsis. 2020-08-21 02:45:33 +00:00
riastradh 0a3195bdf5 Fix markup around optional command name.
Avoids emboldened brackets.  I remain fuzzy on how grouping in roff
works, or doesn't work.
2020-08-21 01:36:04 +00:00
riastradh 859a2fd925 Add missing description for wgconfig `set private-key' command. 2020-08-20 23:03:08 +00:00
riastradh c28ef62782 Mark up argument as such and write out wgconfig command correctly. 2020-08-20 23:01:20 +00:00
riastradh 89205cd245 Tweak markup so the square brackets don't become bold. 2020-08-20 22:58:06 +00:00
riastradh 3699389b49 Fix up wg-userspace(8) man page. 2020-08-20 22:17:16 +00:00
riastradh 0252686c58 Fill out WireGuard man pages. 2020-08-20 21:35:59 +00:00
riastradh a32c8cce00 Update wgconfig(8) for proplib API changes.
Also check type tags before conversion.
2020-08-20 21:34:51 +00:00
riastradh 2c3dfe7425 Make `wgconfig --help' and variations work. 2020-08-20 21:31:26 +00:00
riastradh 591b22f37f Descend into wg-userspace. 2020-08-20 21:30:46 +00:00
riastradh 61fd7d67f5 [ozaki-r] Add wg files 2020-08-20 21:28:00 +00:00
riastradh a14187eca5 [ozaki-r] Changes to the kernel core for wireguard 2020-08-20 21:21:31 +00:00
riastradh 25f11de3b9 mmap MAP_FAILED audit. 2020-08-20 15:54:11 +00:00
msaitoh cc67c5474a s/ be be / be / 2020-08-19 02:19:06 +00:00
christos 0c510515ef use opendisk()/dehumanize_number 2020-08-18 19:26:29 +00:00
mrg 4d62e2455a mostly complete basic port of crash(8) to mips.
tested on mipsel and mips64eb.  basic functionality works
on the running kernel, not yet tested on crash dumps.
2020-08-17 04:15:33 +00:00
tkusumi ae112b0a4f fstyp: Fix incorrect pfs_type test for HAMMER2 inode
taken-from: DragonFly BSD
2020-08-14 18:35:57 +00:00
martin 909a0d73c8 PR 55572: avoid crash when answering the mount point prompt for a previously
empty mount point with an emptry sting.
2020-08-14 08:46:54 +00:00
rin e45d30c746 Silence -Wstringop-truncation for ``name'' in disp_selected_part().
This variable is used only for display, and truncation seems harmless.
2020-08-10 06:54:45 +00:00
jmcneill 70370e75d4 evbmips: add ofctl(8) and /dev/openfirm support 2020-07-24 12:07:09 +00:00
simonb 3616bcfaa5 Sort missing IDs (users and groups) by the numeric ID. 2020-07-07 12:01:21 +00:00
riastradh 887193699a (cpuctl/aarch64) Add some more aa64isar0_eli1 flags. 2020-07-05 19:40:27 +00:00
sborrill ce6ed78858 When using show subcommand, display node ID (nid) in hexadecimal to match
the HD audio documentation. Diverge slightly by using 0xXX instead of XXh
format for consistency with the list subcommand.
2020-07-01 12:19:45 +00:00
ryo 1b74214774 show clidr_el1 and ctr_el0. 2020-07-01 08:03:10 +00:00
riastradh 65367154cd Nix trailing whitespace. 2020-06-29 23:04:56 +00:00
msaitoh 9007cd7213 s/successfuly/successfully/ in comment. No functional change. 2020-06-22 07:50:53 +00:00
rin d1e359b744 Fix do_blocklist:
- Respect destination directory specified by -d option.
- Accept check and fix options. For the former, do not modify anything as
  users normally expect.
2020-06-22 06:55:41 +00:00
thorpej 696896edc9 Add evbmips support for u-boot handling. 2020-06-21 17:17:01 +00:00
riastradh dd58a4a54e Nix trailing whitespace. 2020-06-20 18:30:53 +00:00
uwe 55f4124e32 Use ?:: modifier instead of .if to check for ipv6.
This way we don't have to include bsd.init.mk early.
2020-06-19 01:19:50 +00:00
kamil aa97815be0 Include explicitly <rump/rump_syscallshotgun.h> for previous indirect users
via <rump/rump.h>.
2020-06-17 00:16:21 +00:00
wiz 20648b583d Use more markup. Bump date for previous. 2020-06-16 14:26:39 +00:00
sborrill 0a7bddaaad Describe correctly how whitespace is formatted as the docs did not
match the source.
2020-06-16 13:34:38 +00:00
christos e9d9ed6853 handle /etc/blacklistd.conf 2020-06-15 21:56:49 +00:00
christos 8751c455bb correct blocklist script
- removal of rc file is handled by obsolete
- use grep to find if we need more changes
- fix rc population
2020-06-15 21:51:13 +00:00
riastradh 6c262685f8 Nix trailing whitespace. 2020-06-15 20:27:30 +00:00
christos 8f201cf281 fix reversed mv, pointed out by wiz@ 2020-06-15 14:32:07 +00:00
christos 5b4fdaddb2 deal with blacklist -> blocklist 2020-06-15 14:25:40 +00:00
sborrill 39dc86037f Add show subcommand that displays the codec configuration in
human-readable tabulated form
2020-06-15 13:06:39 +00:00
tsutsui 66219e6fed Explicitly print a fs image filename on "fs image is too big" errors.
This will help future analysis of build errors caused by bloated
embedded ramdisk images and possible but unexpected other binaries.

Proposed on port-mips@ in discusson about ews4800mips daily build errors:
 https://mail-index.netbsd.org/port-mips/2020/06/14/msg000950.html
and "Yes please!" from martin@.
2020-06-14 18:24:21 +00:00
uwe 44ebef0f33 Support optional square brackets around the host name.
The brackets are required when using numeric IPv6 addresses as they
contain colons as part of their syntax.  We do not enforce that the
thing in the brackets is a numeric IPv6 address - this matches scp
syntax and behavior.
2020-06-14 00:30:20 +00:00
uwe 943a91a810 Remove -46 from the -c usage. While here, sync usage with man page
(s/devfile/device).
2020-06-13 21:23:27 +00:00
wiz e38e8568c9 Add -46 to usage. 2020-06-13 16:56:46 +00:00
uwe b37b5fea79 Support IPv6.
Use getaddrinfo(3).  Add -4 and -6 command line options.  Obey USE_INET6.
2020-06-13 13:45:06 +00:00
roy 73dd2b525a ndp: Sync usage and SYNPOSIS with reality 2020-06-12 21:08:02 +00:00
roy b05648aa26 Remove in-kernel handling of Router Advertisements
This is much better handled by a user-land tool.
Proposed on tech-net here:
https://mail-index.netbsd.org/tech-net/2020/04/22/msg007766.html

Note that the ioctl SIOCGIFINFO_IN6 no longer sets flags. That now
needs to be done using the pre-existing SIOCSIFINFO_FLAGS ioctl.

Compat is fully provided where it makes sense, but trying to turn on
RA handling will obviously throw an error as it no longer exists.

Note that if you use IPv6 temporary addresses, this now needs to be
turned on in dhcpcd.conf(5) rather than in sysctl.conf(5).
2020-06-12 11:04:44 +00:00
tsutsui 089d36aae0 MBR type for Ext2 should be MBR_PTYPE_LNXEXT2, not MBR_PTYPE_FAT12. 2020-06-10 16:56:22 +00:00
tsutsui 08529c6341 Change mountpoint of boot ext2fs from /stand to /ext2 to avoid conflict.
Should be pulled up to netbsd-9, with fixes of PR/55060.
2020-06-10 16:26:33 +00:00
thorpej abcb66ec85 Update for proplib(3) API changes. 2020-06-07 05:54:00 +00:00
thorpej bba3c68329 Update for proplib(3) API changes. 2020-06-07 00:51:48 +00:00
thorpej bcd1eb151d Update for proplib(3) API changes. 2020-06-07 00:12:00 +00:00
thorpej aebbed3d12 Update for proplib(3) API changes. 2020-06-06 22:33:23 +00:00
wiz 55eb855c31 Use more markup. 2020-06-06 20:38:00 +00:00
wiz c65439fe2c Reduce macro arguments. 2020-06-06 20:30:23 +00:00
tsutsui c332e97e6f Fix ews4800mips example. Its raw partition is rsd0p, not rsd0c. 2020-06-06 10:22:45 +00:00
roy caa3531473 Ensure the dhcpcd log socket is removed. 2020-06-03 11:47:46 +00:00
kamil 16b0614b43 Register ppoll 2020-06-02 15:43:26 +00:00
uwe e03c12d8dc Fix extra whitespace added by accident. 2020-06-01 13:30:52 +00:00
msaitoh 774fa17d8b Add 0xa5 and 0xa6 for Comet Lake. 2020-06-01 08:33:40 +00:00
tnn e097843b4c npf-params.7: s/filer/filter/ 2020-05-31 16:32:07 +00:00
rmind a55d34090b npf-params(7): fix the state.key defaults. 2020-05-31 15:57:15 +00:00
roy 2fc8fc72fa postinstall: Move files out of dhcpcd chroot 2020-05-31 13:45:47 +00:00
nat b35a6d5b1b Avoid running of the end of the array if a file cannot be opened.
Found by plunky@.
2020-05-31 06:17:23 +00:00
rmind 231831948d npftest -- npf_test_init(): add a workaround for NetBSD. 2020-05-30 21:00:31 +00:00
rmind b899bfd96f Major NPF improvements (merge from upstream):
- Switch to the C11-style atomic primitives using atomic_loadstore(9).

- npfkern: introduce the 'state.key.interface' and 'state.key.direction'
  settings.  Users can now choose whether the connection state should be
  strictly per-interface or global at the configuration level.  Keep NAT
  logic to be always per-interface, though.

- npfkern: rewrite the G/C worker logic and make it self-tuning.

- npfkern and libnpf: multiple bug fixes; add param exporting; introduce
  more parameters.  Remove npf_nvlist_{copyin,copyout}() functions and
  refactor npfctl_load_nvlist() with others; add npfctl_run_op() to have
  a single entry point for operations.  Introduce npf_flow_t and clean up
  some code.

- npfctl: lots of fixes for the 'npfctl show' logic; make 'npfctl list'
  more informative; misc usability improvements and more user-friendly
  error messages.

- Amend and improve the manual pages.
2020-05-30 14:16:56 +00:00
uwe 3cee218d31 Initialize puffs9p::server (though it's not used anywhere). 2020-05-30 02:53:30 +00:00
uwe 2da8d56162 Provide list of options for ease of reference. 2020-05-30 00:00:35 +00:00
uwe 22cb1031f1 Fix vio9p device name in a comment. 2020-05-29 23:49:08 +00:00
jmcneill c34f2808e8 DTB are no longer part of kernel set 2020-05-29 10:25:06 +00:00
jmcneill 03c974c07b Set HAVE_INSTALL_IMAGE for evbarm 2020-05-28 19:03:09 +00:00
jmcneill ec07eed79a Remove "If you booted from a floppy" message 2020-05-28 19:00:52 +00:00
uwe 63a7cdaa84 Do not send dummy Tauth, it's completely unnecessary.
The best way to not use authentication is to not use authentication.
Cf. http://man.cat-v.org/plan_9/5/attach
2020-05-28 14:00:05 +00:00
uwe 3e763228f4 puffs9p_node_rename - 9P rename is done with Twstat and can only
change the last pathname component.  Return EXDEV for attempts to move
a file to a different directory to make mv(1) fall back to copying.
2020-05-27 03:25:13 +00:00
uwe 8deaf9c1c0 noderemove - do not call puffs_setback here. noderemove is called
from rename (for existing target) and calling setback is not
appropriate in that context.  Do that call instead directly in the
callers (remove, rmdir).

From Nicola Girardi, part of PR/54829.
2020-05-27 00:36:07 +00:00
uwe b2db326b70 puffs9p_node_rename - noderename takes puffs_node, not p9pnode, but
this goes undetected b/c pn_data we pass is a pointer to void.

From Nicola Girardi, part of PR/54829.
2020-05-27 00:05:22 +00:00
uwe c92f8ba0f7 Use the typedef to declare tag in AUTOVAR. Do not allocate 9P tags in
advance in AUTOVAR, do it right before we need them.  Do no reuse tags.
If we are going to use sequential tags, we might as well try to make
them really sequential.
2020-05-26 22:54:43 +00:00
uwe 41b86583fb Do not allocate 9P tags in advance, do it right before we need them.
If we are going to use sequential tags, we might as well try to make
them really sequential.
2020-05-26 22:33:04 +00:00
uwe 2c2f0a9518 puffs9p_node_lookup - use the right type for tfid. 2020-05-26 22:08:11 +00:00
uwe 80d3119c60 proto_getstat - g/c debug printfs. 2020-05-26 19:41:36 +00:00
uwe 795a40f9c2 getdfwithoffset - do not issue dummy read to seek to offset zero on a
newly opened fid as it's already there.  This is redundant and also
seems to confuse inferno when issued against the root directory.  Now
you can ls the mount point of

    styxlisten -A 'tcp!*!styx' export /

While here fix the seek logic to actually repeatedly seek forward
instead of always doing it from zero.
2020-05-26 19:38:14 +00:00
snj 5ce7b84928 it's "its" 2020-05-26 15:20:45 +00:00
rmind 3f8b631875 PR/55288: npfctl: change parameter syntax to be more permissive. 2020-05-24 15:35:39 +00:00
rmind 07861232b4 Backport selected NPF fixes from the upstream (to be pulled up):
- npf_conndb_lookup: protect the connection lookup with pserialize(9),
  instead of incorrectly assuming that the handler always runs at IPL_SOFNET.
  Should fix crashes reported on high load (PR/55182).

- npf_config_destroy: handle partially initialized config; fixes crashes
  with some invalid configurations.

- NAT policy creation / destruction: set the initial reference and do not
  wait for reference draining on destruction; destroy the policy on the
  last reference drop instead.  Fixes a lockup with the dynamic NAT rules.

- npf_nat_{export,import}: fix a regression since dynamic NAT rules.

- npfctl: fix a regression and restore the default group behaviour.

- Add npf_cache_tcp() and validate the TCP data offset (from maxv@).
2020-05-23 19:56:00 +00:00
jmcneill 043d88a7c1 Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
2020-05-18 21:19:34 +00:00
christos 965581664f reverse the order for sun2 2020-05-17 18:59:02 +00:00
christos d0951ebe8b more nofifofs lossage 2020-05-16 12:42:11 +00:00
christos d9e593034a Oops forgot to commit this. 2020-05-16 12:30:35 +00:00
christos ce6ae1732f Add a function to remove the debug bits of the stand files. 2020-05-15 16:33:38 +00:00
christos 32e17edfb9 If we could not lock the pid file, don't continue as we end up with multiple
rtadvd's (thanks roy@)
2020-05-14 23:42:18 +00:00
msaitoh 8012ca3f0e Remove extra semicolon. 2020-05-14 08:34:17 +00:00
martin 98c332e311 PR 55202: disable swapping if we started it due to low ram 2020-05-12 17:26:43 +00:00
martin 0466f2885f Ooops, backout previous - twice the entropy saving is not needed.
Instead slightly improve the (slightly) hidden other code that already
did it.
2020-05-12 17:04:00 +00:00
martin a55d2d6bdf At the end of a new installation save entropy. 2020-05-12 16:18:04 +00:00
martin 46db4168b5 Minor tweak to previous: when forcing a /usr partition just to have an
arbitrary extendable partition, still use its default size initially.
2020-05-12 06:23:07 +00:00
martin d567815e89 When extending a partition (to fill the total disk size) do respect
size limits.
Do not suggest a size limited partition for extension by default.
2020-05-11 17:40:50 +00:00
martin a3e2f2a69a Redo the root-size-limit check again after we grew the root partition
for kernel dumps. Auto-enable the /usr partition if it overflows.
For all non-root partitions, default to FFSv2.
2020-05-11 15:27:41 +00:00
christos e866966f49 warn only for > INFO level messages. 2020-05-10 22:38:51 +00:00
christos 12aefd6688 Print errors to stderr until we daemonize.
Fix typo.
2020-05-10 22:33:09 +00:00
riastradh 8e0e0222cd Teach cpuctl(8) about ARMv8.5-RNG RNDR/RNDRRS support. 2020-05-10 21:42:05 +00:00
wiz 930c6cf21c Sync usage with man page. 2020-05-07 12:52:40 +00:00
wiz a9c88f9a45 New sentence, new line. 2020-05-07 12:52:26 +00:00
kim 955964c1b9 Output records in original order
Append to the list of output records instead of pushing on it, so we
don't reverse the order of records (when not sorting).
2020-05-06 19:45:39 +00:00
kim b41a6df0d4 Use memcpy for copying out lastlog and lastlogx text
Lastlog and lastlogx text fields are not NUL-terminated when original data
is truncated.
2020-05-06 19:31:32 +00:00
kim 6f210b4518 If the passwd entry is not found for a lastlogx entry, cons up a fake
struct passwd where pw_name is the numeric uid in parentheses. This was
already implemented for lastlog entries in revision 1.13.

If -n is specified more than once, also print the user numerically
(ie, uid instead of username) for lastlog entries. This was already
implemented for lastlogx entries in revision 1.13.

Reorder the lastlogx host name numeric condition so it better matches
the user name numeric condition.
2020-05-06 13:47:39 +00:00
kim 45e7025978 Size output columns dynamically by default to fit contents. 2020-05-06 11:58:33 +00:00
joerg a692036705 boardype should not be common. 2020-05-04 18:19:34 +00:00
joerg 3345ee081b lineno, states and allocated should be owned by the parser 2020-04-23 00:29:00 +00:00
joerg c69153879d npftest_mbufops and npftest_ifops are owned by npf_mbuf_subr.c 2020-04-23 00:27:45 +00:00
joerg 1ae5c388e8 Rename debug to mountd_debug to avoid overlap in rump tests 2020-04-23 00:22:01 +00:00
joerg 339d115139 loop.c owns iflist 2020-04-22 23:57:56 +00:00
joerg 14fa6887c5 Let loop.c own iflist 2020-04-22 23:55:29 +00:00
joerg 2d8c8469e2 Avoid common symbol definitions 2020-04-22 23:53:27 +00:00
joerg f60db1d4f9 Externalize yytext, it belongs to the lexer 2020-04-22 23:51:34 +00:00
joerg b128537de5 _rpcpmstart is defined by rpcgen, so externalize it here 2020-04-22 23:47:02 +00:00
joerg ad164cdb07 tempstr is only used in one file, make it static 2020-04-22 23:46:02 +00:00
joerg e45e02400d Don't depend on common symbol definitions. 2020-04-22 23:43:12 +00:00
wiz 7e0632ed7c Remove dst variable that was only set but not used.
(This broke the build for me.)
2020-04-21 12:23:13 +00:00
wiz 0b093b79d0 Update getopt string.
Remove -M. Add -C (the code is there and documented, even if noone could
activate it...).
Sync usage with manpage.
2020-04-21 12:21:27 +00:00
wiz 02044da044 Remove -M from SYNOPSIS as well. 2020-04-21 12:19:44 +00:00
roy ec3335a0cf rtadvd: Remove disabled use of SIOCGIFPREFIX_IN6
It's not been enabled since the functionality was added to ifconfig(8)
many many years ago.
2020-04-21 12:16:47 +00:00
roy afce0d5d3d rtadvd: Remove router renumbering - it's been disable for years 2020-04-21 12:05:54 +00:00
msaitoh 0360a7d374 Get TSC frequency from CPUID 0x15 and/or x16 for newer Intel processors.
- If the max CPUID leaf is >= 0x15, take TSC value from CPUID. Some processors
   can take TSC/core crystal clock ratio but core crystal clock frequency
   can't be taken. Intel SDM give us the values for some processors.
 - It also required to change lapic_per_second to make LAPIC timer correctly.
 - Add new file x86/x86/identcpu_subr.c to share common subroutines between
   kernel and userland. Some code in x86/x86/identcpu.c and cpuctl/arch/i386.c
   will be moved to this file in future.
 - Add comment to clarify.
2020-04-21 02:56:36 +00:00
roy 3d41695df4 postinstall: ensure contents_owner fix fails on find errors
The issue is that find won't pass anything to xargs and that returns 0.
So replace the usage of xargs with -exec.
2020-04-19 22:10:24 +00:00
martin 05a291731f Remove unused variable (to fix the build) 2020-04-18 12:25:01 +00:00
reinoud 93d5858ef9 Believe the datablocks predictor when determining if data on a node gets
stored internal or not. Also make a note that the datablocks predictor takes
NO extended attributes stored in the node into account

In rare cases it could lead to confusion where the predictor would say it
wouldn't fit internally when it could just have fitted. This would trigger the
assertion. Now it will on rare accasions create a datablock even though it
might have fitted.
2020-04-18 09:45:45 +00:00
kim 568e57b236 Update date 2020-04-17 13:36:48 +00:00
knakahara 0a27bcec22 Fix typo in a comment. 2020-04-17 03:15:50 +00:00
wiz b541d0f520 Sort SEE ALSO. 2020-04-16 07:23:58 +00:00
msaitoh 7f2d01cb3a No functional change:
- Rename ci_cpuid_level to ci_max_cpuid and ci_cpuid_extlevel to
   ci_max_ext_cpuid to match x86/include/cpu.h though cpuctl/arch/i386.c added
   them first.
 - Sort some entries.
 - Add comment.
2020-04-16 01:52:34 +00:00
kim aae8c85b3e Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA 2020-04-15 20:31:57 +00:00
wiz a29005e232 Remove trailing dot in SEE ALSO. 2020-04-13 20:44:39 +00:00
uwe de1a8e9869 Use .Dl for one line literal display. Add SEE ALSO. 2020-04-13 15:23:18 +00:00
roy f1ba7e789f Fix dhcpcd $DEST_DIR support 2020-04-09 15:24:31 +00:00
roy 2fc87b1b6a postinstall: fix contents_owner to return an error on error
find returning nothing via stdout but does return an error is an error.
Fixes the case where dhcpcd chroot db directory isn't owned by _dhcpcd.
2020-04-06 13:10:48 +00:00
msaitoh 6ba9c2d85f Print CPUID 0x80000007 %edx on both Intel and AMD. 2020-04-06 09:48:44 +00:00
msaitoh db775ba90f Remove ci_max_ext_cpuid because it's the same as ci_cpuid_extlevel. 2020-04-06 09:46:21 +00:00
christos 82bbf8637f We don't have smbfs anymore. 2020-04-04 17:05:06 +00:00
ad 9f344847ca Make makelists() a little bit faster. 2020-04-04 16:40:50 +00:00
reinoud 22a7e85942 Indent the makefs(8) options for UDF like the other filesystems described. 2020-04-04 13:44:57 +00:00
roy 134f8ca66a postinstall: add checks for _dhcpcd to do_uid and do_gid
Thanks to jmcneill@
2020-04-02 13:44:46 +00:00
roy 22fcb0ce30 postinstall: move dhcpcd files to the chroot 2020-04-02 13:04:09 +00:00
martin 103d2d1e66 Ooops, fix previous (PT_* enum values here are not DKW_PTYPE_* values) 2020-03-30 12:19:28 +00:00
martin 3d593cdb32 Support partition type ZFS 2020-03-30 10:42:49 +00:00
ad 71e41cec30 No need for warnx() if !LOCKDEBUG 2020-03-27 00:17:08 +00:00
kre 1083ca28cc Fix the build, use %jd and (intmax_t) cast for big numbers, off_t
and ptrdiff_t aren't always the same size.
2020-03-26 04:25:28 +00:00
christos bc2a90737a improve error messages. 2020-03-25 20:17:48 +00:00
martin 989c6e9048 PR misc/54886: bump threshold for automatic/default creation of a tmpfs /tmp
up slightly (to 384 MB ram). This will make sure the default install has
a > 64 MB /tmp available (number pulled out of thin air, 64 MB is the minimum
required by the ZFS tests).
2020-03-16 06:48:17 +00:00
martin e1e8b0b2d4 The (unused) md_pre_disklabel() function needs to return success, otherwise
all installations will be aborted.
2020-03-09 17:10:31 +00:00
rin 186c59a8c7 Restrict LOCKDEBUG support to archs with REALCRASH.
Fix build failure for other archs.
2020-03-09 05:10:19 +00:00
christos fbd525a3da Add primitive LOCKDEBUG support. 2020-03-09 01:54:31 +00:00
maya e8183c3622 Remove note that has been incorrect for a while.
Thanks ottavio for the heads up.
2020-03-06 20:07:26 +00:00
martin 34fc30f813 PR 55045: strlcpy(NULL, ..., 0) considered harmfull in some implementations. 2020-03-04 11:15:06 +00:00
nisimura 5ef06edbc3 - show " refcount %d" for consistency
- fix an extra : bug which was introduced rev 1.17
2020-03-03 08:56:05 +00:00
nakayama eb7c30f064 Fix the fixup script to follow the URL change in /etc/motd (http->https).
PR install/54990, pullup-9
2020-02-25 10:27:01 +00:00
riastradh 2d468aafe8 Fix userland references to LFS_ORPHAN_NEXTFREE.
Forgot to grep for these or do a full distribution build, oops!
2020-02-23 15:11:33 +00:00
martin bcf119c046 Remove unused "rel" global variable and make the -r option a no-op. 2020-02-19 21:51:21 +00:00
martin 9990dbf0aa Do not force -Os optimization (unless SMALLPROG) 2020-02-19 21:49:48 +00:00
martin 561693de2d Rever previous: the d_packname in struct disklabel is not NUL terminated.
Disable the warning instead.
2020-02-19 21:45:09 +00:00
martin fe36d07293 Move sysinst man page next to the source 2020-02-19 21:42:53 +00:00
martin f16eda658a Use strlcpy in a few places to guarnatee 0-terminated strings 2020-02-19 18:08:03 +00:00
martin 0e36a5a930 Finish conversion to generic partitioning backend 2020-02-10 16:08:58 +00:00
martin 1b607b5c42 Do not use -P for tar extractions - the in tree tar has been fixed. 2020-02-10 14:55:53 +00:00
fox d56b4ad409 usr.sbin/ypserv: Suppress -Werror=format-truncation= error.
Add GCC_NO_FORMAT_TRUNCATION makedbm.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@
2020-02-09 15:52:48 +00:00
fox 505bb4b586 usr.sbin/timed: Suppress -Werror=stringop-truncation error.
Add GCC_NO_STRINGOP_TRUNCATION master.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@
2020-02-09 15:13:28 +00:00
fox 709709c6c1 usr.sbin/srtconfig: Suppress -Werror=stringop-truncation error.
Add GCC_NO_STRINGOP_TRUNCATION to srtconfig.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@
2020-02-09 15:10:31 +00:00
fox 5f234ad7f3 usr.sbin/fstyp: Fix -Werror=conversion error.
Type cast the size_t to uint32_t to prevent implicit type conversion errors.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@
2020-02-08 12:56:56 +00:00
maxv 081da2e4c3 Retire KLEAK.
KLEAK was a nice feature and served its purpose; it allowed us to detect
dozens of info leaks on the kernel->userland boundary, and thanks to it we
tackled a good part of the infoleak problem 1.5 years ago.

Nowadays however, we have kMSan, which can detect uninitialized memory in
the kernel. kMSan supersedes KLEAK: it can detect what KLEAK was able to
detect, but in addition, (1) it operates in all of the kernel and not just
the kernel->userland boundary, (2) it requires no user interaction, and (3)
it is deterministic and not statistical.

That makes kMSan the feature of choice to detect info leaks nowadays;
people interested in detecting info leaks should boot a kMSan kernel and
just wait for the magic to happen.

KLEAK was a good ride, and a fun project, but now is time for it to go.

Discussed with several people, including Thomas Barabosch.
2020-02-08 07:07:06 +00:00
fox 47c90ff9dc usr.sbin/altq: Suppress -Werror=stringop-truncation error.
Add GCC_NO_STRINGOP_TRUNCATION to quip_client.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@
2020-02-08 01:01:31 +00:00
fox 77e17afddc usr.sbin/altq: Revert the strlcpy(3) change since this changes expected behavior from strncpy(3).
Reviewed by: kamil@
2020-02-07 21:53:20 +00:00
fox c308ca874b usr.sbin/altq: Fix -Wstringop-truncation warning.
Looks like the original intention was to truncate the string at len.

Replace strncpy(3) with strlcpy(3).

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@
2020-02-07 20:13:26 +00:00
martin 6c253ac2a4 Only a single partition can ever have the "extend" flag (grow to available
size).
2020-02-06 20:17:04 +00:00
martin 04b0ec0dc6 Fix copy&pasto in previous - from kre. 2020-02-06 19:53:10 +00:00
martin d767a2bd18 Make re-install sets also work for an explicit selected root wedge 2020-02-06 19:50:04 +00:00
martin 53cb08e207 Reformat a query to add an automatically detected swap partition
so it fits on narrow screens.
2020-02-06 19:41:57 +00:00
martin 38baaacf51 PR bin/54944: make the "explicit single wedge" selection also work for
upgrades.
2020-02-06 19:08:38 +00:00
martin 5dd26405c9 PR bin/54944: explicitly reject GPT protective MBRs. 2020-02-06 18:07:22 +00:00
martin 7cc1a7bbc8 PR bin/54944: deal with escaped spaces in NAME= syntax in /etc/fstab. 2020-02-06 16:28:10 +00:00
martin bc25142e5e Do not assum a partitioning scheme that supports innner partitions always
needs to actually have such partitions defined.
2020-02-06 15:08:04 +00:00
martin c37ad2b6d5 Deal with partitioning schemes having no inner counterpart.
Avoid NULL derefs.
2020-02-06 11:55:18 +00:00
martin e25168ca3e Remove a bogus assert: when reading disklabel partitions and the outer
(MBR) partitioning has changed, but the changes have not yet been written
back to disk, we need to ignore the kernels idea of the disklabel and
instead continue with an empty one.
2020-02-06 11:46:35 +00:00
martin 8ef7426ad0 PR install/54934: always use -f on the installboot invocation. We come
here post-newfs (and maybe should have dd'd zeros to the start of the
disk before newfs instead).
2020-02-06 10:47:33 +00:00
martin 6588e96561 bootxx_name() - fix oversight in previous change (do not assume first
partition is the root partition)
2020-02-06 10:42:06 +00:00
martin bef52f433c PR install/54921: skip non-user partitions when checking for overlaps 2020-02-03 13:09:29 +00:00
martin 8f8ab8791d PR install/54921: message "ordering" takes a %s argument. 2020-02-03 10:37:46 +00:00
martin 6bcc9cde3d remove unused "emptypart" message (or moved to ifdef notyet area) 2020-02-03 10:29:34 +00:00
christos 05e238b7cc change the autofs file to be user writable. 2020-01-30 13:54:05 +00:00
christos a0ffe25b1f populate autofs files 2020-01-30 01:39:40 +00:00
martin 29f96e8198 Do not compare a char array to NULL, test for empty string instead. 2020-01-29 19:04:40 +00:00
maxv ef9fd509e8 More identification. 2020-01-28 17:36:42 +00:00
martin 13c212dcb2 Too much disklabel magic happening in the kernel - to compensate force
MBR first when trying to identify the existing partitioning scheme of
a disk.
2020-01-28 07:43:42 +00:00
martin 6a7f7ee8d0 Use a few strlcpy() instead of strncpy() for network ioctl structs.
We seem to have no formal documentation stating the various

	char if*_name[IFNAMSIZ]; /* if name, e.g. "en0" */

elements in ioctls are nul terminated, but the peanut gallery claims
it is so - and at least half of the code in-tree touching them agrees.
2020-01-27 21:30:17 +00:00
martin 86906049de Fix support for non-512-byte/sector disks again after I broke it when
introducing the abstract partition backends.
2020-01-27 21:21:21 +00:00
martin 53d0b64d08 When retrying sets during extraction, reset the relevant statistics
to avoid counting retried sets multiple times.

Reported by kim.
2020-01-26 14:37:29 +00:00
martin 7fd225f6ad Factor out all RAM size thresholds as defines to avoid magic numbers.
To work around PR misc/54886 bump the threshold for a tmpfs /tmp mount
up to 256 MB.
2020-01-24 07:31:15 +00:00
martin ce6562a91d Deal with even stranger fictious empty disklabels (PR kern/54882). 2020-01-21 20:04:30 +00:00
mrg 02b08f1785 hide disklabel_non_bootable() under NO_DISKLABEL_BOOT like the usage.
should fix most builds.
2020-01-21 06:44:40 +00:00
martin 249ed7a6e5 First try to bring evbarm installation closer to current reality. 2020-01-20 21:26:35 +00:00
thorpej 85654ec7a9 Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.
2020-01-19 06:55:21 +00:00
martin 4b10af5a64 PR install/54872: fix printf argument order, sectors and heads were
swapped in the bios geometry display.
2020-01-18 18:39:55 +00:00
maya 09ad70fb6c Remove uyurex(4).
This is a driver for a "nonsense machine" made by the art group Maywa-Denki
in 2008. It was disabled by default.

Unfortunately even so it draws development attention (flaws found in the
code, MP-ification needs) and it is best not to continue to maintain this
driver.

Proposed without objections on tech-kern.
2020-01-17 15:00:20 +00:00
martin 0e7fb040fb Fix /tmp tmpfs handling and on machines with enough RAM default to
creating a /tmp tmpfs with 25% of ram size limit. Suggested by ad@.
2020-01-16 16:47:19 +00:00
martin 89a1e44d88 Remove useless calls to get_ramsize() - return value is ignored and
the function has no side effects.
2020-01-16 13:56:24 +00:00
martin 7f682dc5e0 Avoid using the global "pm" variable in utility functions - during
extended partitioning they may point to a different device.
2020-01-15 19:37:41 +00:00
martin ead2350f26 Add a method to query the partitioning schemes "internal idea" of a
cylinder size - whatever that means in the real world.
2020-01-15 19:36:30 +00:00
martin 3485b8ad62 Fix handling of inner/outer partitions (e.g. MBR and disklabel) in
extended partitioning:
 - when editing a disk with such a schme, offer both partitions in two
   steps
 - when commiting changes save the inner partitions after the outer ones
2020-01-15 19:08:24 +00:00
tkusumi 5425c6e737 fstyp: Remove redundant best_i check in HAMMER2
https://reviews.freebsd.org/D23159
taken-from: DragonFlyBSD originally from FreeBSD
2020-01-15 15:32:05 +00:00
tkusumi 081dcb4e9f fstyp: Use strlcpy(3) for HAMMER1
https://reviews.freebsd.org/D23159
taken-from: DragonFlyBSD originally from FreeBSD
2020-01-15 15:30:46 +00:00
martin 9e1b8986ab PR install/54787: when trying to derive proper alignement and first offset
from exisiting partitions, use the first partition offset if it is already
closer to the start of the disk than the prefered alignment - we can not
move existing partitions around.
2020-01-14 19:28:31 +00:00
martin 72be7ecea1 When asked to create a whole-disk partition for unknown usage, do not only
assert(false), but actually return an error (in case "assert" is a nop).
2020-01-10 12:55:14 +00:00
martin a4b2d71dd5 Move the LABELSECTOR check and make it FS type specific - some partition
types (FFS, RAID) are allowed to overlap with the LABELSECTOR.
2020-01-10 10:47:35 +00:00
martin 484980a3f3 When reading the secondary disklabel partitions from an existing disklabel
set the mbr partitions as parent.
2020-01-09 19:51:49 +00:00
martin c604f98ede Instead of a (bogus) attempt to query the model via ofctl, use the (now
fixed) sysctl hw.model instead.
2020-01-09 17:06:46 +00:00
ad 56f477e67b Add a recommendation for SMT to not split threads. XXX This should report
topo info to help the decision.
2020-01-09 15:50:16 +00:00
martin abce8cb394 Finish conversion of extended partitioning parts to new abstract
backend interface. XXX still could use a lot of polishing.
2020-01-09 13:22:30 +00:00
tkusumi 2564971ebf fstyp: Cleanup hammer2.c (sync with recent DragonFly commit)
taken-from DragonFlyBSD 841ef9e93aea61adab688e9476604e7a03291ef0
2020-01-04 03:43:18 +00:00
tkusumi 0adf7fda76 fstyp: Cleanup hammer.c (sync with recent DragonFly commit)
taken-from DragonFlyBSD 8ca6d8ec5f97032765692d368db80159c97adea0
2020-01-03 08:19:14 +00:00
mlelstv 654fb5e866 Recognize wedges and device mapper volumes as "disk". 2020-01-03 07:50:58 +00:00
tkusumi 143e65cce8 fstyp: Fix "exfat: iconv_open UCS-2LE: Invalid argument" failure
Fix below error for the time being.
The removed code is only relevant to Capsicum.

$ fstyp -l /dev/wd1
fstyp: exfat: iconv_open UCS-2LE: Invalid argument
2020-01-02 08:52:42 +00:00
wiz 627a9b5419 Try fixing a sentence. 2020-01-01 20:11:44 +00:00
tkusumi 0f41a17b1c fstyp: Consider '@' syntax in device file path for HAMMER2
though devpath is unsupported in NetBSD atm.
taken-from: DragonFlyBSD
2020-01-01 12:47:19 +00:00
tkusumi cfa93e9fb4 fstyp: Fix build failure on i386
http://releng.netbsd.org/b5reports/i386/commits-2020.01.html#2020.01.01.10.13.16
Explicitly cast to size_t.
2020-01-01 11:46:43 +00:00
tkusumi 442ef904f9 fstyp: Add HAMMER1 multi-volume support (missed in "fstyp: Add HAMMER1/2 support")
taken-from: DragonFlyBSD
2020-01-01 09:17:27 +00:00
tkusumi dcc92ff930 fstyp: Cleanup and minor sync up with FreeBSD/DragonFlyBSD 2020-01-01 09:08:52 +00:00
tkusumi ff998df0a2 fstyp: Add HAMMER1/2 support
FreeBSD has recently imported HAMMER1/2 support from DragonFlyBSD,
so why not in NetBSD as well.

taken-from: DragonFlyBSD
2020-01-01 08:56:41 +00:00
tsutsui cbcfce8df3 Make sure rc, rc.subr, and rc.shutdown are properly updated.
Currently there is no info which rc* files should be updated
or not on upgrade (at least rc.conf and rc.local shouldn't),
so put back an explicit list in the postinstall script.
"Go for it" by christos@ in PR/54741.

Should be pulled up to netbsd-9.
2019-12-29 22:19:13 +00:00
tkusumi bdaaf6392d fstyp: Use iconv(3) to convert NTFS vol labels correctly
taken-from: FreeBSD (freebsd/freebsd@23a4b310ff)
2019-12-28 08:22:30 +00:00
tkusumi 0cd59d67d5 fstyp: Show exFAT volume labels with -l flag
taken-from: FreeBSD (freebsd/freebsd@73773fcda9)
2019-12-28 08:00:08 +00:00
tkusumi a4a6d53262 fstyp: Add APFS support
taken-from: FreeBSD (freebsd/freebsd@171bb54729)
2019-12-27 11:15:06 +00:00
tkusumi c952179f84 fstyp: Add HFS+ support
taken-from: FreeBSD (freebsd/freebsd@b4d7ad9f78)
2019-12-27 11:06:23 +00:00
msaitoh b40ff30391 s/orignal/original/ 2019-12-27 10:20:01 +00:00
msaitoh a0403cde04 s/transfered/transferred/ 2019-12-27 09:41:48 +00:00
msaitoh e992133145 s/suport/support/ 2019-12-27 09:22:19 +00:00
msaitoh 40064e2457 s/lenght/length/ 2019-12-26 04:53:11 +00:00
maxv 87107185b5 Revert the removal of filemon. 2019-12-23 06:45:36 +00:00
christos 007f692c78 PR/54730: Izumi Tsutsui: obsolete etc files are not being cleaned up on
an upgrade build.
2019-12-22 18:41:36 +00:00
maxv e67f51b8f7 Retire filemon, discussed on tech-kern@. 2019-12-18 07:37:17 +00:00
martin 89094dbad4 Fix the pattern creating the relative path for distribution sets
on branches: we missed the potential numbers in suffixes, like _RC1.
2019-12-16 13:48:44 +00:00
martin 42fb6d79a5 After installing boot blocks with RUN_NO_CLEAR (and handling the
potential errors) make sure to clear the stdscreen.
2019-12-15 13:39:24 +00:00
martin 36c3b68377 Do not show disklabel command invocation by default (only if there are
errors).
2019-12-15 12:09:55 +00:00
martin 3a4f84ca06 Reject (what we consider) empty/invalid fake disklabels no matter whether
we have other partitioning schemes available or not.
2019-12-15 12:01:05 +00:00
martin ebdfc2d74c Fix overlapping partitions display 2019-12-15 11:22:46 +00:00
martin 8b681df095 Pass proper track size when initializing the default alignment - this is
important with sunlabels.
2019-12-14 20:41:58 +00:00
martin d26d794880 If a fictious label has no RAW_PART assume there is no valid disk label. 2019-12-14 19:26:17 +00:00
martin 015df285a2 Adapt MD parts to changes in get_fs_part_type (pass partition type). 2019-12-14 12:00:40 +00:00
martin 194b0d85bc When finding (paritioning scheme native) partition types for file systems
from our install description, pass the partition type (not only the file
system type). Sometimes (e.g. EFI boot partition on GPT) the filesystem
type (MSDOS) is not a unique selector.
2019-12-13 22:12:41 +00:00
martin 2eadf7ff31 Remove bogus assert. 2019-12-13 22:10:21 +00:00
martin cd0c3adf11 When trying to tell a fictious but empty label from a real one, skip
partition a if it has the same start and size as the raw partition.
2019-12-13 21:46:59 +00:00
martin 79b003e2fe Do not try to change the keyboard layout if we are not running on the
console.
2019-12-13 12:05:11 +00:00
martin e65ec1bd4e Fix inverted comparison 2019-12-12 20:14:21 +00:00
martin 8fff818899 Fix DISKLABEL_NO_ONDISK_VERIFY (accidently disabled in previous) 2019-12-12 19:29:05 +00:00
martin 1994e1beef Fix detection of existing disklabels in the case when we only have
the disklabel partitioning scheme available.
2019-12-12 12:19:39 +00:00
wiz 460718aa4e Comment out xref to tb(4), it does not exist.
XXX: I don't see it mentioned in amd64/GENERIC nor DEVNAMES
2019-12-12 05:00:33 +00:00
ad d1120cd8e9 Report on whether vnodes are MPSAFE. For diagnosing perf problems. 2019-12-11 19:51:36 +00:00
martin 000e67db6f For now rely on the kernel mapping native RDB partitions. 2019-12-11 19:25:50 +00:00
martin 675f7bf669 PR 54065: add optional "old compat" variant of ext2fs in file system
type selection and use that as default for the cobalt boot file system.
2019-12-11 19:23:37 +00:00
martin b2a9c378fb Get rid of the evbarm preliminary menu: do not bother to ask the user
whether this is a RPi - query the FDT instead.
2019-12-11 15:08:45 +00:00
isaki 6e13a9a980 Fix typo. 2019-12-10 06:25:50 +00:00
martin 2d2d93336c PR install/54582: allow MD code to disable on-disk presence verification
of "real" disklabels. Auto-enable this (at run time) when there is no other
partitioning scheme but disklabel configured.
Hard-coded enable this for x68k to allow using kernel based translations
for native Human68k partitions.
2019-12-09 19:16:53 +00:00
martin 5f929f285c PR install/54745: fix confusion about absolut and NetBSD-partition
relative offsets.
2019-12-08 15:09:33 +00:00
martin 1a12097886 Relax restrictions on packnames, as disklabel(8) does not do full decoding
for the tag field.
Fix quoting of command args.
2019-12-07 13:33:45 +00:00
christos 7300145099 Drop the advertising clause to match the other files. 2019-12-07 04:55:01 +00:00
martin 11811d114c Sanitize disk type and packname a bit more - when using existing disklabel
partitions we might run into trouble later when filing this label (unescaped)
in disktab format otherwise.
2019-12-06 19:36:22 +00:00
christos cbb438eec0 PR/54730: Izumi Tsutsui: Use /var/db/obsolete/<set> to remove obsolete rc.d
files when not in $SOURCEMODE.
2019-12-04 04:45:42 +00:00
msaitoh 76bb64e370 s/upate/update/ in comment. 2019-12-03 03:25:28 +00:00
christos b708da7ce8 drop my name from the advertising clause. 2019-12-02 19:23:53 +00:00
ad 80e17de9fd Update to match change in layout of vnode LRU lists. 2019-12-01 14:04:52 +00:00
riastradh 560cfcce81 Use .Sy, not .Em, for bold-faced WARNING of impending doom.
Underline and, worse, italic aren't as good at catching the eye.
2019-11-30 02:47:14 +00:00
christos 81bb75a321 Use strtoi instead of atoi() to catch bad input (Alexander Kuleshov) 2019-11-27 17:56:08 +00:00
tkusumi 9840bf8aa7 autofs: Add missing description for automountd option -T 2019-11-25 16:57:09 +00:00
tkusumi 13d532c277 autofs: Change autounmountd(8) to use time_t for duration instead of double
The commit log from FreeBSD.
--
autounmountd(8) uses doubles to handle mount time durations.  However,
it must convert to integer types, time_t in particular, to do anything
meaningful.  Additionally, even though it's a floating-point value in
seconds, the sub-seconds component is never used, so it's unnecessary.

Switching type to time_t fixes an assertion on powerpc64, which checks
that a sleep value that's not -1.0 is greater than 0.  On powerpc64, it
happens that the value of -1.0 gets loaded as a float (perhaps a bug in
gcc), but gets compared to a double.  This compares as false, so follows
through the 'sleep != -1.0' path, and fails the assert.  Since the
sub-second component isn't used in the double, just drop it and deal
with whole-integer seconds.
--

Taken-from: FreeBSD and DragonFlyBSD
2019-11-21 16:45:05 +00:00
tkusumi b94e44675e autofs: Change my email address in man pages to netbsd.org 2019-11-21 15:24:17 +00:00
martin db4a9cc4e5 Fix previous: not a good idea to try to copy files from the not yet
extracted sets.
2019-11-18 16:05:55 +00:00
tkusumi 7575c8cff5 fstyp: Add exFAT support
Taken-from: FreeBSD and DragonFlyBSD
2019-11-18 14:53:34 +00:00
martin 8d58fabc31 Fix previous: the install medium may not have /usr/mdec/prekern; it was
meant to copy the one from the just installed system.
2019-11-18 08:16:32 +00:00
msaitoh de6a10c185 0x7d and 0x7e are for 10th generation Core (Ice Lake). 2019-11-17 15:32:00 +00:00
martin 2f0931afd6 On amd64 support installation with a KASLR kernel, via "custom install"
and selecting the GENERIC_KASLR kernel set.
Setup /prekern and boot.cfg accordingly.
2019-11-16 21:25:14 +00:00
martin 7ca7eecae1 Make sure all menus have a translatable exit option (or none at all). 2019-11-16 20:26:59 +00:00
martin f6972e2244 Make the bootblock selection menu more sane, pointed out by maxv 2019-11-16 18:08:59 +00:00
martin 05e0fd7496 knf style adjustments 2019-11-16 18:08:36 +00:00
martin 9aa61cd2ab Fix table of bios geomatries 2019-11-16 17:53:02 +00:00
joerg 18bfe0dbc7 Drop unused variable. 2019-11-16 15:50:45 +00:00
tkusumi 560993f90b autofs: Support DOLLAR for $ literal
taken-from FreeBSD and DragonFlyBSD
2019-11-16 12:26:54 +00:00
tkusumi b650fd9611 autofs: Fix segfault that could occur on "automount -LL" 2019-11-16 12:21:06 +00:00
tkusumi 8a20efb18d autofs: Remove unneeded header include
common.c doesn't depend on autofs or its ioctls.
2019-11-16 11:56:29 +00:00
martin d1379acfcf Fix missing newlines in bios match display, pointed out by maxv. 2019-11-14 19:26:58 +00:00