History log of /freebsd-11-stable/usr.sbin/bsdinstall/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
370209 27-Jul-2021 gjb

bsdinstall: Only show menu if there are more items to be installed

Obtained from: Rubicon Communications, LLC ("Netgate")
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 95f0da5be1e3456c930f5f9538cbc099c65f2014)

Git Hash: 27988b8333007d319eb9e9929bda787c5012e59e
Git Author: renato@netgate.com

366259 29-Sep-2020 zeising

MFC r366186: bsdconfig, bsdinstall: Prune dead mirrors

Prune dead mirrors from the list of mirrors in bsdconfig and bsdinstall.
All these return NXDOMAIN when trying to resolve them.

Approved by: emaste

361305 20-May-2020 dteske

MFC r361300: Fix indentation in bsdinstall-created wpa_supplicant.conf

PR: base/221982
Reported by: emaste
Reviewed by: emaste, allanjude
Differential Revision: https://reviews.freebsd.org/D23641

358517 02-Mar-2020 philip

MFC r358419:

bsdinstall: remove the Italian mirror

ftp.it.FreeBSD.org has been down for several years.

PR: 244481
Reported by: xgeoplasma6@gmail.com

353047 03-Oct-2019 gjb

MFC r353004, r353012:
r353004:
Explicitly add opensolaris_load="YES" to loader.conf through the
installer when installing the system on a ZFS root filesystem.

For arm64, zfs_load="YES" does not add opensolaris.ko as a kld
dependency, so add it explicitly to prevent boot-time failures
out-of-box.

r353012:
Add a comment explaining why the opensolaris_load line in loader.conf
is explicitly added.

PR: 240478
Approved by: re (kib, early MFC)
Sponsored by: Rubicon Communications, LLC (Netgate)

331851 31-Mar-2018 smh

MFC r320138:

Fixed bsdinstall location of vfs.zfs.min_auto_ashift

Sponsored by: Multiplay

331088 17-Mar-2018 eadler

MFC r328839:

Add the ThinkPad X1 (sandybridge) to the bsdinstall blacklist

Reviewed by: AllanJude (for mfc)

330980 15-Mar-2018 eadler

MFC r327474:

bsdinstall: inform users that typing will not be visible

Some users, especially those that are new, might be confused when passwd
does not echo anything. Inform users that the password will not be
visible.

PR: 196113

330449 05-Mar-2018 eadler

MFC r326276:

various: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.


/freebsd-11-stable/bin/pkill/pkill.c
/freebsd-11-stable/etc/pam.d/convert.pl
/freebsd-11-stable/kerberos5/lib/libgssapi_krb5/gss_krb5.c
/freebsd-11-stable/kerberos5/lib/libgssapi_krb5/pname_to_uid.c
/freebsd-11-stable/kerberos5/lib/libgssapi_krb5/prefix.c
/freebsd-11-stable/kerberos5/lib/libgssapi_ntlm/prefix.c
/freebsd-11-stable/kerberos5/lib/libgssapi_spnego/freebsd_compat.c
/freebsd-11-stable/sbin/adjkerntz/adjkerntz.c
/freebsd-11-stable/sbin/adjkerntz/pathnames.h
/freebsd-11-stable/sbin/camcontrol/camcontrol.h
/freebsd-11-stable/sbin/camcontrol/fwdownload.c
/freebsd-11-stable/sbin/camcontrol/modeedit.c
/freebsd-11-stable/sbin/camcontrol/progress.c
/freebsd-11-stable/sbin/camcontrol/progress.h
/freebsd-11-stable/sbin/camcontrol/util.c
/freebsd-11-stable/sbin/ccdconfig/ccdconfig.c
/freebsd-11-stable/sbin/ccdconfig/pathnames.h
/freebsd-11-stable/sbin/comcontrol/comcontrol.c
/freebsd-11-stable/sbin/conscontrol/conscontrol.c
/freebsd-11-stable/sbin/ddb/ddb.c
/freebsd-11-stable/sbin/ddb/ddb.h
/freebsd-11-stable/sbin/ddb/ddb_capture.c
/freebsd-11-stable/sbin/ddb/ddb_script.c
/freebsd-11-stable/sbin/devd/devd.h
/freebsd-11-stable/sbin/devd/devd.hh
/freebsd-11-stable/sbin/devd/parse.y
/freebsd-11-stable/sbin/devd/token.l
/freebsd-11-stable/sbin/devfs/devfs.c
/freebsd-11-stable/sbin/devfs/extern.h
/freebsd-11-stable/sbin/devfs/rule.c
/freebsd-11-stable/sbin/etherswitchcfg/etherswitchcfg.c
/freebsd-11-stable/sbin/fsck/fsutil.h
/freebsd-11-stable/sbin/fsck_ffs/ea.c
/freebsd-11-stable/sbin/fsck_ffs/suj.c
/freebsd-11-stable/sbin/fsck_msdosfs/boot.c
/freebsd-11-stable/sbin/fsck_msdosfs/check.c
/freebsd-11-stable/sbin/fsck_msdosfs/dir.c
/freebsd-11-stable/sbin/fsck_msdosfs/dosfs.h
/freebsd-11-stable/sbin/fsck_msdosfs/ext.h
/freebsd-11-stable/sbin/fsck_msdosfs/fat.c
/freebsd-11-stable/sbin/fsck_msdosfs/main.c
/freebsd-11-stable/sbin/fsdb/fsdb.c
/freebsd-11-stable/sbin/fsdb/fsdb.h
/freebsd-11-stable/sbin/fsdb/fsdbutil.c
/freebsd-11-stable/sbin/fsirand/fsirand.c
/freebsd-11-stable/sbin/gbde/gbde.c
/freebsd-11-stable/sbin/geom/class/cache/geom_cache.c
/freebsd-11-stable/sbin/geom/class/concat/geom_concat.c
/freebsd-11-stable/sbin/geom/class/eli/geom_eli.c
/freebsd-11-stable/sbin/geom/class/journal/geom_journal.c
/freebsd-11-stable/sbin/geom/class/journal/geom_journal.h
/freebsd-11-stable/sbin/geom/class/journal/geom_journal_ufs.c
/freebsd-11-stable/sbin/geom/class/label/geom_label.c
/freebsd-11-stable/sbin/geom/class/mirror/geom_mirror.c
/freebsd-11-stable/sbin/geom/class/mountver/geom_mountver.c
/freebsd-11-stable/sbin/geom/class/multipath/geom_multipath.c
/freebsd-11-stable/sbin/geom/class/nop/geom_nop.c
/freebsd-11-stable/sbin/geom/class/part/geom_part.c
/freebsd-11-stable/sbin/geom/class/raid/geom_raid.c
/freebsd-11-stable/sbin/geom/class/raid3/geom_raid3.c
/freebsd-11-stable/sbin/geom/class/sched/geom_sched.c
/freebsd-11-stable/sbin/geom/class/shsec/geom_shsec.c
/freebsd-11-stable/sbin/geom/class/stripe/geom_stripe.c
/freebsd-11-stable/sbin/geom/class/virstor/geom_virstor.c
/freebsd-11-stable/sbin/geom/core/geom.c
/freebsd-11-stable/sbin/geom/core/geom.h
/freebsd-11-stable/sbin/geom/misc/subr.c
/freebsd-11-stable/sbin/geom/misc/subr.h
/freebsd-11-stable/sbin/ggate/ggatec/ggatec.c
/freebsd-11-stable/sbin/ggate/ggated/ggated.c
/freebsd-11-stable/sbin/ggate/ggatel/ggatel.c
/freebsd-11-stable/sbin/ggate/shared/ggate.c
/freebsd-11-stable/sbin/ggate/shared/ggate.h
/freebsd-11-stable/sbin/gvinum/gvinum.c
/freebsd-11-stable/sbin/hastctl/hastctl.c
/freebsd-11-stable/sbin/hastd/activemap.c
/freebsd-11-stable/sbin/hastd/activemap.h
/freebsd-11-stable/sbin/hastd/control.c
/freebsd-11-stable/sbin/hastd/control.h
/freebsd-11-stable/sbin/hastd/ebuf.c
/freebsd-11-stable/sbin/hastd/ebuf.h
/freebsd-11-stable/sbin/hastd/event.c
/freebsd-11-stable/sbin/hastd/event.h
/freebsd-11-stable/sbin/hastd/hast.h
/freebsd-11-stable/sbin/hastd/hast_checksum.c
/freebsd-11-stable/sbin/hastd/hast_checksum.h
/freebsd-11-stable/sbin/hastd/hast_compression.c
/freebsd-11-stable/sbin/hastd/hast_compression.h
/freebsd-11-stable/sbin/hastd/hast_proto.c
/freebsd-11-stable/sbin/hastd/hast_proto.h
/freebsd-11-stable/sbin/hastd/hastd.c
/freebsd-11-stable/sbin/hastd/hastd.h
/freebsd-11-stable/sbin/hastd/hooks.c
/freebsd-11-stable/sbin/hastd/hooks.h
/freebsd-11-stable/sbin/hastd/lzf.c
/freebsd-11-stable/sbin/hastd/lzf.h
/freebsd-11-stable/sbin/hastd/metadata.c
/freebsd-11-stable/sbin/hastd/metadata.h
/freebsd-11-stable/sbin/hastd/nv.c
/freebsd-11-stable/sbin/hastd/nv.h
/freebsd-11-stable/sbin/hastd/parse.y
/freebsd-11-stable/sbin/hastd/pjdlog.c
/freebsd-11-stable/sbin/hastd/pjdlog.h
/freebsd-11-stable/sbin/hastd/primary.c
/freebsd-11-stable/sbin/hastd/proto.c
/freebsd-11-stable/sbin/hastd/proto.h
/freebsd-11-stable/sbin/hastd/proto_common.c
/freebsd-11-stable/sbin/hastd/proto_impl.h
/freebsd-11-stable/sbin/hastd/proto_socketpair.c
/freebsd-11-stable/sbin/hastd/proto_tcp.c
/freebsd-11-stable/sbin/hastd/proto_uds.c
/freebsd-11-stable/sbin/hastd/rangelock.c
/freebsd-11-stable/sbin/hastd/rangelock.h
/freebsd-11-stable/sbin/hastd/refcnt.h
/freebsd-11-stable/sbin/hastd/secondary.c
/freebsd-11-stable/sbin/hastd/subr.c
/freebsd-11-stable/sbin/hastd/subr.h
/freebsd-11-stable/sbin/hastd/synch.h
/freebsd-11-stable/sbin/hastd/token.l
/freebsd-11-stable/sbin/ifconfig/af_nd6.c
/freebsd-11-stable/sbin/ifconfig/carp.c
/freebsd-11-stable/sbin/ifconfig/ifbridge.c
/freebsd-11-stable/sbin/ifconfig/ifconfig.h
/freebsd-11-stable/sbin/ifconfig/iffib.c
/freebsd-11-stable/sbin/ifconfig/ifgif.c
/freebsd-11-stable/sbin/ifconfig/ifgre.c
/freebsd-11-stable/sbin/ifconfig/ifgroup.c
/freebsd-11-stable/sbin/ifconfig/ifieee80211.c
/freebsd-11-stable/sbin/ifconfig/ifmac.c
/freebsd-11-stable/sbin/ifconfig/ifpfsync.c
/freebsd-11-stable/sbin/iscontrol/auth_subr.c
/freebsd-11-stable/sbin/iscontrol/config.c
/freebsd-11-stable/sbin/iscontrol/fsm.c
/freebsd-11-stable/sbin/iscontrol/iscontrol.c
/freebsd-11-stable/sbin/iscontrol/iscontrol.h
/freebsd-11-stable/sbin/iscontrol/login.c
/freebsd-11-stable/sbin/iscontrol/misc.c
/freebsd-11-stable/sbin/iscontrol/pdu.c
/freebsd-11-stable/sbin/kldconfig/kldconfig.c
/freebsd-11-stable/sbin/kldload/kldload.c
/freebsd-11-stable/sbin/kldstat/kldstat.c
/freebsd-11-stable/sbin/kldunload/kldunload.c
/freebsd-11-stable/sbin/ldconfig/elfhints.c
/freebsd-11-stable/sbin/ldconfig/ldconfig.c
/freebsd-11-stable/sbin/ldconfig/ldconfig.h
/freebsd-11-stable/sbin/mdconfig/mdconfig.c
/freebsd-11-stable/sbin/mdmfs/mdmfs.c
/freebsd-11-stable/sbin/mksnap_ffs/mksnap_ffs.c
/freebsd-11-stable/sbin/mount/extern.h
/freebsd-11-stable/sbin/mount_fusefs/mount_fusefs.c
/freebsd-11-stable/sbin/mount_msdosfs/mount_msdosfs.c
/freebsd-11-stable/sbin/nandfs/lssnap.c
/freebsd-11-stable/sbin/nandfs/mksnap.c
/freebsd-11-stable/sbin/nandfs/nandfs.c
/freebsd-11-stable/sbin/nandfs/nandfs.h
/freebsd-11-stable/sbin/nandfs/rmsnap.c
/freebsd-11-stable/sbin/newfs_msdos/newfs_msdos.c
/freebsd-11-stable/sbin/newfs_nandfs/newfs_nandfs.c
/freebsd-11-stable/sbin/nos-tun/nos-tun.c
/freebsd-11-stable/sbin/nvmecontrol/devlist.c
/freebsd-11-stable/sbin/nvmecontrol/firmware.c
/freebsd-11-stable/sbin/nvmecontrol/identify.c
/freebsd-11-stable/sbin/nvmecontrol/logpage.c
/freebsd-11-stable/sbin/nvmecontrol/nvmecontrol.c
/freebsd-11-stable/sbin/nvmecontrol/nvmecontrol.h
/freebsd-11-stable/sbin/nvmecontrol/perftest.c
/freebsd-11-stable/sbin/nvmecontrol/reset.c
/freebsd-11-stable/sbin/pfctl/parse.y
/freebsd-11-stable/sbin/pfctl/pf_print_state.c
/freebsd-11-stable/sbin/pfctl/pfctl.c
/freebsd-11-stable/sbin/pfctl/pfctl.h
/freebsd-11-stable/sbin/pfctl/pfctl_parser.c
/freebsd-11-stable/sbin/pfctl/pfctl_parser.h
/freebsd-11-stable/sbin/pfctl/pfctl_radix.c
/freebsd-11-stable/sbin/pfctl/pfctl_table.c
/freebsd-11-stable/sbin/rcorder/rcorder.c
/freebsd-11-stable/sbin/reboot/nextboot.sh
/freebsd-11-stable/sbin/spppcontrol/spppcontrol.c
/freebsd-11-stable/usr.bin/ar/acplex.l
/freebsd-11-stable/usr.bin/ar/acpyacc.y
/freebsd-11-stable/usr.bin/ar/ar.h
/freebsd-11-stable/usr.bin/ar/read.c
/freebsd-11-stable/usr.bin/ar/util.c
/freebsd-11-stable/usr.bin/ar/write.c
/freebsd-11-stable/usr.bin/asa/asa.c
/freebsd-11-stable/usr.bin/at/at.c
/freebsd-11-stable/usr.bin/at/at.h
/freebsd-11-stable/usr.bin/at/panic.c
/freebsd-11-stable/usr.bin/at/panic.h
/freebsd-11-stable/usr.bin/at/parsetime.c
/freebsd-11-stable/usr.bin/at/parsetime.h
/freebsd-11-stable/usr.bin/at/perm.c
/freebsd-11-stable/usr.bin/at/perm.h
/freebsd-11-stable/usr.bin/at/privs.h
/freebsd-11-stable/usr.bin/bluetooth/bthost/bthost.c
/freebsd-11-stable/usr.bin/bluetooth/btsockstat/btsockstat.c
/freebsd-11-stable/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sdp.c
/freebsd-11-stable/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c
/freebsd-11-stable/usr.bin/brandelf/brandelf.c
/freebsd-11-stable/usr.bin/bsdiff/bsdiff/bsdiff.c
/freebsd-11-stable/usr.bin/bsdiff/bspatch/bspatch.c
/freebsd-11-stable/usr.bin/c89/c89.c
/freebsd-11-stable/usr.bin/c99/c99.c
/freebsd-11-stable/usr.bin/calendar/dates.c
/freebsd-11-stable/usr.bin/calendar/events.c
/freebsd-11-stable/usr.bin/calendar/ostern.c
/freebsd-11-stable/usr.bin/calendar/parsedata.c
/freebsd-11-stable/usr.bin/calendar/paskha.c
/freebsd-11-stable/usr.bin/calendar/sunpos.c
/freebsd-11-stable/usr.bin/cmp/link.c
/freebsd-11-stable/usr.bin/colldef/parse.y
/freebsd-11-stable/usr.bin/colldef/scan.l
/freebsd-11-stable/usr.bin/compress/zopen.h
/freebsd-11-stable/usr.bin/cpuset/cpuset.c
/freebsd-11-stable/usr.bin/csplit/csplit.c
/freebsd-11-stable/usr.bin/ctlstat/ctlstat.c
/freebsd-11-stable/usr.bin/dtc/checking.cc
/freebsd-11-stable/usr.bin/dtc/checking.hh
/freebsd-11-stable/usr.bin/dtc/dtb.cc
/freebsd-11-stable/usr.bin/dtc/dtb.hh
/freebsd-11-stable/usr.bin/dtc/dtc.cc
/freebsd-11-stable/usr.bin/dtc/fdt.cc
/freebsd-11-stable/usr.bin/dtc/fdt.hh
/freebsd-11-stable/usr.bin/dtc/input_buffer.cc
/freebsd-11-stable/usr.bin/dtc/input_buffer.hh
/freebsd-11-stable/usr.bin/dtc/string.cc
/freebsd-11-stable/usr.bin/dtc/util.hh
/freebsd-11-stable/usr.bin/elf2aout/elf2aout.c
/freebsd-11-stable/usr.bin/elfdump/elfdump.c
/freebsd-11-stable/usr.bin/env/envopts.c
/freebsd-11-stable/usr.bin/env/envopts.h
/freebsd-11-stable/usr.bin/fetch/fetch.c
/freebsd-11-stable/usr.bin/finger/pathnames.h
/freebsd-11-stable/usr.bin/fstat/functions.h
/freebsd-11-stable/usr.bin/fstat/fuser.c
/freebsd-11-stable/usr.bin/fstat/main.c
/freebsd-11-stable/usr.bin/fsync/fsync.c
/freebsd-11-stable/usr.bin/gcore/elfcore.c
/freebsd-11-stable/usr.bin/gencat/gencat.c
/freebsd-11-stable/usr.bin/getent/getent.c
/freebsd-11-stable/usr.bin/grep/file.c
/freebsd-11-stable/usr.bin/grep/grep.c
/freebsd-11-stable/usr.bin/grep/grep.h
/freebsd-11-stable/usr.bin/grep/queue.c
/freebsd-11-stable/usr.bin/grep/regex/fastmatch.c
/freebsd-11-stable/usr.bin/grep/regex/hashtable.c
/freebsd-11-stable/usr.bin/grep/regex/tre-fastmatch.c
/freebsd-11-stable/usr.bin/grep/util.c
/freebsd-11-stable/usr.bin/gzip/gzip.c
/freebsd-11-stable/usr.bin/gzip/unbzip2.c
/freebsd-11-stable/usr.bin/gzip/unpack.c
/freebsd-11-stable/usr.bin/gzip/unxz.c
/freebsd-11-stable/usr.bin/iconv/iconv.c
/freebsd-11-stable/usr.bin/indent/indent.h
/freebsd-11-stable/usr.bin/ipcrm/ipcrm.c
/freebsd-11-stable/usr.bin/ipcs/ipc.c
/freebsd-11-stable/usr.bin/ipcs/ipc.h
/freebsd-11-stable/usr.bin/ipcs/ipcs.c
/freebsd-11-stable/usr.bin/iscsictl/iscsictl.c
/freebsd-11-stable/usr.bin/iscsictl/iscsictl.h
/freebsd-11-stable/usr.bin/iscsictl/parse.y
/freebsd-11-stable/usr.bin/iscsictl/periphs.c
/freebsd-11-stable/usr.bin/iscsictl/token.l
/freebsd-11-stable/usr.bin/killall/killall.c
/freebsd-11-stable/usr.bin/ktrdump/ktrdump.c
/freebsd-11-stable/usr.bin/lastcomm/readrec.c
/freebsd-11-stable/usr.bin/ldd/extern.h
/freebsd-11-stable/usr.bin/ldd/ldd.c
/freebsd-11-stable/usr.bin/ldd/sods.c
/freebsd-11-stable/usr.bin/locale/locale.c
/freebsd-11-stable/usr.bin/locate/locate/concatdb.sh
/freebsd-11-stable/usr.bin/locate/locate/mklocatedb.sh
/freebsd-11-stable/usr.bin/locate/locate/updatedb.sh
/freebsd-11-stable/usr.bin/lockf/lockf.c
/freebsd-11-stable/usr.bin/login/login.h
/freebsd-11-stable/usr.bin/logins/logins.c
/freebsd-11-stable/usr.bin/m4/gnum4.c
/freebsd-11-stable/usr.bin/m4/trace.c
/freebsd-11-stable/usr.bin/man/man.sh
/freebsd-11-stable/usr.bin/mkcsmapper/ldef.h
/freebsd-11-stable/usr.bin/mkcsmapper/lex.l
/freebsd-11-stable/usr.bin/mkcsmapper/yacc.y
/freebsd-11-stable/usr.bin/mkesdb/ldef.h
/freebsd-11-stable/usr.bin/mkesdb/lex.l
/freebsd-11-stable/usr.bin/mkesdb/yacc.y
/freebsd-11-stable/usr.bin/mktemp/mktemp.c
/freebsd-11-stable/usr.bin/mkuzip/mkuzip.c
/freebsd-11-stable/usr.bin/ncal/ncal.c
/freebsd-11-stable/usr.bin/netstat/bpf.c
/freebsd-11-stable/usr.bin/netstat/netisr.c
/freebsd-11-stable/usr.bin/newgrp/newgrp.c
/freebsd-11-stable/usr.bin/nl/nl.c
/freebsd-11-stable/usr.bin/passwd/passwd.c
/freebsd-11-stable/usr.bin/pathchk/pathchk.c
/freebsd-11-stable/usr.bin/perror/perror.c
/freebsd-11-stable/usr.bin/procstat/procstat.c
/freebsd-11-stable/usr.bin/procstat/procstat.h
/freebsd-11-stable/usr.bin/procstat/procstat_args.c
/freebsd-11-stable/usr.bin/procstat/procstat_auxv.c
/freebsd-11-stable/usr.bin/procstat/procstat_basic.c
/freebsd-11-stable/usr.bin/procstat/procstat_bin.c
/freebsd-11-stable/usr.bin/procstat/procstat_cred.c
/freebsd-11-stable/usr.bin/procstat/procstat_files.c
/freebsd-11-stable/usr.bin/procstat/procstat_kstack.c
/freebsd-11-stable/usr.bin/procstat/procstat_rlimit.c
/freebsd-11-stable/usr.bin/procstat/procstat_sigs.c
/freebsd-11-stable/usr.bin/procstat/procstat_threads.c
/freebsd-11-stable/usr.bin/procstat/procstat_vm.c
/freebsd-11-stable/usr.bin/protect/protect.c
/freebsd-11-stable/usr.bin/rctl/rctl.c
/freebsd-11-stable/usr.bin/revoke/revoke.c
/freebsd-11-stable/usr.bin/seq/seq.c
/freebsd-11-stable/usr.bin/setchannel/setchannel.c
/freebsd-11-stable/usr.bin/sockstat/sockstat.c
/freebsd-11-stable/usr.bin/sort/bwstring.c
/freebsd-11-stable/usr.bin/sort/bwstring.h
/freebsd-11-stable/usr.bin/sort/coll.c
/freebsd-11-stable/usr.bin/sort/coll.h
/freebsd-11-stable/usr.bin/sort/file.c
/freebsd-11-stable/usr.bin/sort/file.h
/freebsd-11-stable/usr.bin/sort/mem.c
/freebsd-11-stable/usr.bin/sort/mem.h
/freebsd-11-stable/usr.bin/sort/radixsort.c
/freebsd-11-stable/usr.bin/sort/radixsort.h
/freebsd-11-stable/usr.bin/sort/sort.c
/freebsd-11-stable/usr.bin/sort/sort.h
/freebsd-11-stable/usr.bin/sort/vsort.c
/freebsd-11-stable/usr.bin/sort/vsort.h
/freebsd-11-stable/usr.bin/ssh-copy-id/ssh-copy-id.sh
/freebsd-11-stable/usr.bin/stat/stat.c
/freebsd-11-stable/usr.bin/stdbuf/stdbuf.c
/freebsd-11-stable/usr.bin/systat/convtbl.c
/freebsd-11-stable/usr.bin/systat/convtbl.h
/freebsd-11-stable/usr.bin/systat/devs.h
/freebsd-11-stable/usr.bin/systat/ifcmds.c
/freebsd-11-stable/usr.bin/systat/ifstat.c
/freebsd-11-stable/usr.bin/tabs/tabs.c
/freebsd-11-stable/usr.bin/tr/cmap.c
/freebsd-11-stable/usr.bin/tr/cmap.h
/freebsd-11-stable/usr.bin/tr/cset.c
/freebsd-11-stable/usr.bin/tr/cset.h
/freebsd-11-stable/usr.bin/truncate/truncate.c
/freebsd-11-stable/usr.bin/truss/truss.h
/freebsd-11-stable/usr.bin/unifdef/unifdef.c
/freebsd-11-stable/usr.bin/unifdef/unifdef.h
/freebsd-11-stable/usr.bin/unifdef/unifdefall.sh
/freebsd-11-stable/usr.bin/units/units.c
/freebsd-11-stable/usr.bin/unzip/unzip.c
/freebsd-11-stable/usr.bin/usbhidaction/usbhidaction.c
/freebsd-11-stable/usr.bin/usbhidctl/usbhid.c
/freebsd-11-stable/usr.bin/whereis/pathnames.h
/freebsd-11-stable/usr.bin/whereis/whereis.c
/freebsd-11-stable/usr.bin/which/which.c
/freebsd-11-stable/usr.bin/who/who.c
/freebsd-11-stable/usr.bin/ypcat/ypcat.c
/freebsd-11-stable/usr.bin/ypmatch/ypmatch.c
/freebsd-11-stable/usr.bin/ypwhich/ypwhich.c
/freebsd-11-stable/usr.sbin/ac/ac.c
/freebsd-11-stable/usr.sbin/acpi/acpiconf/acpiconf.c
/freebsd-11-stable/usr.sbin/acpi/acpidb/acpidb.c
/freebsd-11-stable/usr.sbin/acpi/acpidump/acpi.c
/freebsd-11-stable/usr.sbin/acpi/acpidump/acpi_user.c
/freebsd-11-stable/usr.sbin/acpi/acpidump/acpidump.c
/freebsd-11-stable/usr.sbin/acpi/acpidump/acpidump.h
/freebsd-11-stable/usr.sbin/adduser/adduser.sh
/freebsd-11-stable/usr.sbin/adduser/rmuser.sh
/freebsd-11-stable/usr.sbin/apmd/apmd.c
/freebsd-11-stable/usr.sbin/apmd/apmd.h
/freebsd-11-stable/usr.sbin/apmd/apmdlex.l
/freebsd-11-stable/usr.sbin/apmd/apmdparse.y
/freebsd-11-stable/usr.sbin/asf/asf.c
/freebsd-11-stable/usr.sbin/asf/asf.h
/freebsd-11-stable/usr.sbin/asf/asf_kld.c
/freebsd-11-stable/usr.sbin/asf/asf_kvm.c
/freebsd-11-stable/usr.sbin/asf/asf_prog.c
/freebsd-11-stable/usr.sbin/bhyve/acpi.c
/freebsd-11-stable/usr.sbin/bhyve/acpi.h
/freebsd-11-stable/usr.sbin/bhyve/ahci.h
/freebsd-11-stable/usr.sbin/bhyve/bhyverun.c
/freebsd-11-stable/usr.sbin/bhyve/bhyverun.h
/freebsd-11-stable/usr.sbin/bhyve/block_if.c
/freebsd-11-stable/usr.sbin/bhyve/block_if.h
/freebsd-11-stable/usr.sbin/bhyve/consport.c
/freebsd-11-stable/usr.sbin/bhyve/dbgport.c
/freebsd-11-stable/usr.sbin/bhyve/dbgport.h
/freebsd-11-stable/usr.sbin/bhyve/inout.c
/freebsd-11-stable/usr.sbin/bhyve/inout.h
/freebsd-11-stable/usr.sbin/bhyve/ioapic.c
/freebsd-11-stable/usr.sbin/bhyve/ioapic.h
/freebsd-11-stable/usr.sbin/bhyve/mem.c
/freebsd-11-stable/usr.sbin/bhyve/mem.h
/freebsd-11-stable/usr.sbin/bhyve/mevent.c
/freebsd-11-stable/usr.sbin/bhyve/mevent.h
/freebsd-11-stable/usr.sbin/bhyve/mevent_test.c
/freebsd-11-stable/usr.sbin/bhyve/mptbl.c
/freebsd-11-stable/usr.sbin/bhyve/mptbl.h
/freebsd-11-stable/usr.sbin/bhyve/pci_ahci.c
/freebsd-11-stable/usr.sbin/bhyve/pci_emul.c
/freebsd-11-stable/usr.sbin/bhyve/pci_emul.h
/freebsd-11-stable/usr.sbin/bhyve/pci_hostbridge.c
/freebsd-11-stable/usr.sbin/bhyve/pci_lpc.c
/freebsd-11-stable/usr.sbin/bhyve/pci_lpc.h
/freebsd-11-stable/usr.sbin/bhyve/pci_passthru.c
/freebsd-11-stable/usr.sbin/bhyve/pci_uart.c
/freebsd-11-stable/usr.sbin/bhyve/pci_virtio_block.c
/freebsd-11-stable/usr.sbin/bhyve/pci_virtio_net.c
/freebsd-11-stable/usr.sbin/bhyve/pm.c
/freebsd-11-stable/usr.sbin/bhyve/post.c
/freebsd-11-stable/usr.sbin/bhyve/rtc.c
/freebsd-11-stable/usr.sbin/bhyve/rtc.h
/freebsd-11-stable/usr.sbin/bhyve/smbiostbl.c
/freebsd-11-stable/usr.sbin/bhyve/smbiostbl.h
/freebsd-11-stable/usr.sbin/bhyve/spinup_ap.c
/freebsd-11-stable/usr.sbin/bhyve/spinup_ap.h
/freebsd-11-stable/usr.sbin/bhyve/uart_emul.c
/freebsd-11-stable/usr.sbin/bhyve/uart_emul.h
/freebsd-11-stable/usr.sbin/bhyve/virtio.c
/freebsd-11-stable/usr.sbin/bhyve/virtio.h
/freebsd-11-stable/usr.sbin/bhyve/xmsr.c
/freebsd-11-stable/usr.sbin/bhyve/xmsr.h
/freebsd-11-stable/usr.sbin/bhyvectl/bhyvectl.c
/freebsd-11-stable/usr.sbin/bhyveload/bhyveload.c
/freebsd-11-stable/usr.sbin/bluetooth/bcmfw/bcmfw.c
/freebsd-11-stable/usr.sbin/bluetooth/bt3cfw/bt3cfw.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/bthidcontrol.h
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/hid.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/sdp.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/bthid_config.h
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/bthidd.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/bthidd.h
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/client.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/hid.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/kbd.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/kbd.h
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/lexer.l
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/parser.y
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/server.c
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/session.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/bnep.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/bnep.h
/freebsd-11-stable/usr.sbin/bluetooth/btpand/btpand.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/btpand.h
/freebsd-11-stable/usr.sbin/bluetooth/btpand/channel.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/client.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/event.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/event.h
/freebsd-11-stable/usr.sbin/bluetooth/btpand/packet.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/sdp.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/sdp.h
/freebsd-11-stable/usr.sbin/bluetooth/btpand/server.c
/freebsd-11-stable/usr.sbin/bluetooth/btpand/tap.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/hccontrol.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/hccontrol.h
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/info.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/link_control.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/link_policy.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/node.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/send_recv.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/status.c
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/util.c
/freebsd-11-stable/usr.sbin/bluetooth/hcsecd/hcsecd.c
/freebsd-11-stable/usr.sbin/bluetooth/hcsecd/hcsecd.h
/freebsd-11-stable/usr.sbin/bluetooth/hcsecd/lexer.l
/freebsd-11-stable/usr.sbin/bluetooth/hcsecd/parser.y
/freebsd-11-stable/usr.sbin/bluetooth/hcseriald/hcseriald.c
/freebsd-11-stable/usr.sbin/bluetooth/l2control/l2cap.c
/freebsd-11-stable/usr.sbin/bluetooth/l2control/l2control.c
/freebsd-11-stable/usr.sbin/bluetooth/l2control/l2control.h
/freebsd-11-stable/usr.sbin/bluetooth/l2ping/l2ping.c
/freebsd-11-stable/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpcontrol/sdpcontrol.h
/freebsd-11-stable/usr.sbin/bluetooth/sdpcontrol/search.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/bgd.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/dun.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ftrn.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/gn.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/irmc.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/irmc_command.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/lan.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/log.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/log.h
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/main.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/nap.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/opush.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/panu.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/profile.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/profile.h
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/provider.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/provider.h
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/sar.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/scr.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/sd.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/server.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/server.h
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/sp.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/srr.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ssar.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ssr.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/sur.c
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/uuid-private.h
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/uuid.c
/freebsd-11-stable/usr.sbin/boot0cfg/boot0cfg.c
distextract/distextract.c
distfetch/distfetch.c
partedit/diskeditor.c
partedit/diskeditor.h
partedit/gpart_ops.c
partedit/part_wizard.c
partedit/partedit.c
partedit/partedit.h
partedit/partedit_generic.c
partedit/partedit_powerpc.c
partedit/partedit_sparc64.c
partedit/partedit_x86.c
partedit/scripted.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_addrs.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_if.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_pf.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_port.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_snmp.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_snmp.h
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hast/hast_snmp.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.c
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_snmp.h
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c
/freebsd-11-stable/usr.sbin/btxld/btx.h
/freebsd-11-stable/usr.sbin/btxld/btxld.c
/freebsd-11-stable/usr.sbin/btxld/elfh.c
/freebsd-11-stable/usr.sbin/btxld/elfh.h
/freebsd-11-stable/usr.sbin/chkgrp/chkgrp.c
/freebsd-11-stable/usr.sbin/ckdist/ckdist.c
/freebsd-11-stable/usr.sbin/clear_locks/clear_locks.c
/freebsd-11-stable/usr.sbin/cpucontrol/amd.c
/freebsd-11-stable/usr.sbin/cpucontrol/amd.h
/freebsd-11-stable/usr.sbin/cpucontrol/cpucontrol.c
/freebsd-11-stable/usr.sbin/cpucontrol/cpucontrol.h
/freebsd-11-stable/usr.sbin/cpucontrol/intel.c
/freebsd-11-stable/usr.sbin/cpucontrol/intel.h
/freebsd-11-stable/usr.sbin/cpucontrol/via.c
/freebsd-11-stable/usr.sbin/cpucontrol/via.h
/freebsd-11-stable/usr.sbin/crunch/crunchide/exec_elf32.c
/freebsd-11-stable/usr.sbin/crunch/crunchide/exec_elf64.c
/freebsd-11-stable/usr.sbin/crunch/crunchide/extern.h
/freebsd-11-stable/usr.sbin/ctladm/ctladm.h
/freebsd-11-stable/usr.sbin/ctladm/util.c
/freebsd-11-stable/usr.sbin/ctld/ctld.c
/freebsd-11-stable/usr.sbin/ctld/ctld.h
/freebsd-11-stable/usr.sbin/ctld/discovery.c
/freebsd-11-stable/usr.sbin/ctld/kernel.c
/freebsd-11-stable/usr.sbin/ctld/keys.c
/freebsd-11-stable/usr.sbin/ctld/log.c
/freebsd-11-stable/usr.sbin/ctld/login.c
/freebsd-11-stable/usr.sbin/ctld/parse.y
/freebsd-11-stable/usr.sbin/ctld/pdu.c
/freebsd-11-stable/usr.sbin/ctld/token.l
/freebsd-11-stable/usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c
/freebsd-11-stable/usr.sbin/daemon/daemon.c
/freebsd-11-stable/usr.sbin/devinfo/devinfo.c
/freebsd-11-stable/usr.sbin/digictl/digictl.c
/freebsd-11-stable/usr.sbin/diskinfo/diskinfo.c
/freebsd-11-stable/usr.sbin/dumpcis/cardinfo.h
/freebsd-11-stable/usr.sbin/dumpcis/cis.h
/freebsd-11-stable/usr.sbin/dumpcis/main.c
/freebsd-11-stable/usr.sbin/dumpcis/printcis.c
/freebsd-11-stable/usr.sbin/dumpcis/readcis.c
/freebsd-11-stable/usr.sbin/dumpcis/readcis.h
/freebsd-11-stable/usr.sbin/eeprom/eeprom.c
/freebsd-11-stable/usr.sbin/eeprom/ofw_options.c
/freebsd-11-stable/usr.sbin/eeprom/ofw_options.h
/freebsd-11-stable/usr.sbin/etcupdate/etcupdate.sh
/freebsd-11-stable/usr.sbin/extattr/rmextattr.c
/freebsd-11-stable/usr.sbin/extattrctl/extattrctl.c
/freebsd-11-stable/usr.sbin/fdcontrol/fdcontrol.c
/freebsd-11-stable/usr.sbin/fdformat/fdformat.c
/freebsd-11-stable/usr.sbin/fdread/fdread.c
/freebsd-11-stable/usr.sbin/fdread/fdutil.c
/freebsd-11-stable/usr.sbin/fdread/fdutil.h
/freebsd-11-stable/usr.sbin/fifolog/fifolog_create/fifolog_create.c
/freebsd-11-stable/usr.sbin/fifolog/fifolog_reader/fifolog_reader.c
/freebsd-11-stable/usr.sbin/fifolog/fifolog_writer/fifolog_writer.c
/freebsd-11-stable/usr.sbin/fifolog/lib/fifolog.h
/freebsd-11-stable/usr.sbin/fifolog/lib/fifolog_create.c
/freebsd-11-stable/usr.sbin/fifolog/lib/fifolog_int.c
/freebsd-11-stable/usr.sbin/fifolog/lib/fifolog_reader.c
/freebsd-11-stable/usr.sbin/fifolog/lib/fifolog_write.h
/freebsd-11-stable/usr.sbin/fifolog/lib/fifolog_write_poll.c
/freebsd-11-stable/usr.sbin/fifolog/lib/libfifolog.h
/freebsd-11-stable/usr.sbin/fifolog/lib/libfifolog_int.h
/freebsd-11-stable/usr.sbin/fifolog/lib/miniobj.h
/freebsd-11-stable/usr.sbin/flowctl/flowctl.c
/freebsd-11-stable/usr.sbin/freebsd-update/freebsd-update.sh
/freebsd-11-stable/usr.sbin/getfmac/getfmac.c
/freebsd-11-stable/usr.sbin/getpmac/getpmac.c
/freebsd-11-stable/usr.sbin/gpioctl/gpioctl.c
/freebsd-11-stable/usr.sbin/gssd/gssd.c
/freebsd-11-stable/usr.sbin/gstat/gstat.c
/freebsd-11-stable/usr.sbin/i2c/i2c.c
/freebsd-11-stable/usr.sbin/inetd/builtins.c
/freebsd-11-stable/usr.sbin/iscsid/discovery.c
/freebsd-11-stable/usr.sbin/iscsid/iscsid.c
/freebsd-11-stable/usr.sbin/iscsid/iscsid.h
/freebsd-11-stable/usr.sbin/iscsid/keys.c
/freebsd-11-stable/usr.sbin/iscsid/log.c
/freebsd-11-stable/usr.sbin/iscsid/login.c
/freebsd-11-stable/usr.sbin/iscsid/pdu.c
/freebsd-11-stable/usr.sbin/jail/command.c
/freebsd-11-stable/usr.sbin/jail/config.c
/freebsd-11-stable/usr.sbin/jail/jail.c
/freebsd-11-stable/usr.sbin/jail/jaillex.l
/freebsd-11-stable/usr.sbin/jail/jailp.h
/freebsd-11-stable/usr.sbin/jail/jailparse.y
/freebsd-11-stable/usr.sbin/jail/state.c
/freebsd-11-stable/usr.sbin/jexec/jexec.c
/freebsd-11-stable/usr.sbin/jls/jls.c
/freebsd-11-stable/usr.sbin/kbdcontrol/kbdcontrol.c
/freebsd-11-stable/usr.sbin/kbdcontrol/lex.h
/freebsd-11-stable/usr.sbin/kbdcontrol/lex.l
/freebsd-11-stable/usr.sbin/kbdmap/kbdmap.c
/freebsd-11-stable/usr.sbin/kbdmap/kbdmap.h
/freebsd-11-stable/usr.sbin/kgzip/aouthdr.c
/freebsd-11-stable/usr.sbin/kgzip/aouthdr.h
/freebsd-11-stable/usr.sbin/kgzip/elfhdr.c
/freebsd-11-stable/usr.sbin/kgzip/elfhdr.h
/freebsd-11-stable/usr.sbin/kgzip/kgz.h
/freebsd-11-stable/usr.sbin/kgzip/kgzcmp.c
/freebsd-11-stable/usr.sbin/kgzip/kgzip.c
/freebsd-11-stable/usr.sbin/kgzip/kgzip.h
/freebsd-11-stable/usr.sbin/kgzip/kgzld.c
/freebsd-11-stable/usr.sbin/kgzip/xio.c
/freebsd-11-stable/usr.sbin/kldxref/ef_amd64.c
/freebsd-11-stable/usr.sbin/kldxref/ef_i386.c
/freebsd-11-stable/usr.sbin/kldxref/ef_nop.c
/freebsd-11-stable/usr.sbin/kldxref/ef_powerpc.c
/freebsd-11-stable/usr.sbin/kldxref/ef_sparc64.c
/freebsd-11-stable/usr.sbin/lastlogin/lastlogin.c
/freebsd-11-stable/usr.sbin/lpr/chkprintcap/skimprintcap.c
/freebsd-11-stable/usr.sbin/lpr/chkprintcap/skimprintcap.h
/freebsd-11-stable/usr.sbin/lpr/common_source/ctlinfo.c
/freebsd-11-stable/usr.sbin/lpr/common_source/ctlinfo.h
/freebsd-11-stable/usr.sbin/lpr/common_source/lp.cdefs.h
/freebsd-11-stable/usr.sbin/lpr/common_source/matchjobs.c
/freebsd-11-stable/usr.sbin/lpr/common_source/matchjobs.h
/freebsd-11-stable/usr.sbin/lpr/filters.ru/koi2855/koi2855.c
/freebsd-11-stable/usr.sbin/lpr/filters.ru/koi2alt/koi2alt.c
/freebsd-11-stable/usr.sbin/lpr/lp/lp.sh
/freebsd-11-stable/usr.sbin/lpr/lpc/movejobs.c
/freebsd-11-stable/usr.sbin/lptcontrol/lptcontrol.c
/freebsd-11-stable/usr.sbin/mailwrapper/mailwrapper.c
/freebsd-11-stable/usr.sbin/mailwrapper/pathnames.h
/freebsd-11-stable/usr.sbin/makefs/cd9660.c
/freebsd-11-stable/usr.sbin/makefs/cd9660.h
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_archimedes.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_archimedes.h
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_conversion.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_debug.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_eltorito.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_eltorito.h
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_strings.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/cd9660_write.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/iso9660_rrip.c
/freebsd-11-stable/usr.sbin/makefs/cd9660/iso9660_rrip.h
/freebsd-11-stable/usr.sbin/makefs/ffs.h
/freebsd-11-stable/usr.sbin/makefs/ffs/buf.c
/freebsd-11-stable/usr.sbin/makefs/ffs/buf.h
/freebsd-11-stable/usr.sbin/makefs/ffs/ffs_bswap.c
/freebsd-11-stable/usr.sbin/makefs/ffs/newfs_extern.h
/freebsd-11-stable/usr.sbin/makefs/ffs/ufs_bswap.h
/freebsd-11-stable/usr.sbin/makefs/makefs.c
/freebsd-11-stable/usr.sbin/makefs/makefs.h
/freebsd-11-stable/usr.sbin/makefs/mtree.c
/freebsd-11-stable/usr.sbin/makefs/walk.c
/freebsd-11-stable/usr.sbin/memcontrol/memcontrol.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_bbu.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_cmd.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_config.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_drive.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_evt.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_flash.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_foreign.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_patrol.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_properties.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_show.c
/freebsd-11-stable/usr.sbin/mfiutil/mfi_volume.c
/freebsd-11-stable/usr.sbin/mfiutil/mfiutil.c
/freebsd-11-stable/usr.sbin/mfiutil/mfiutil.h
/freebsd-11-stable/usr.sbin/mlxcontrol/command.c
/freebsd-11-stable/usr.sbin/mlxcontrol/config.c
/freebsd-11-stable/usr.sbin/mlxcontrol/interface.c
/freebsd-11-stable/usr.sbin/mlxcontrol/mlxcontrol.h
/freebsd-11-stable/usr.sbin/mlxcontrol/util.c
/freebsd-11-stable/usr.sbin/moused/moused.c
/freebsd-11-stable/usr.sbin/mptable/mptable.c
/freebsd-11-stable/usr.sbin/mtest/mtest.c
/freebsd-11-stable/usr.sbin/nandsim/nandsim.c
/freebsd-11-stable/usr.sbin/nandsim/nandsim_cfgparse.c
/freebsd-11-stable/usr.sbin/nandsim/nandsim_cfgparse.h
/freebsd-11-stable/usr.sbin/nandtool/nand_erase.c
/freebsd-11-stable/usr.sbin/nandtool/nand_info.c
/freebsd-11-stable/usr.sbin/nandtool/nand_read.c
/freebsd-11-stable/usr.sbin/nandtool/nand_readoob.c
/freebsd-11-stable/usr.sbin/nandtool/nand_write.c
/freebsd-11-stable/usr.sbin/nandtool/nand_writeoob.c
/freebsd-11-stable/usr.sbin/nandtool/nandtool.c
/freebsd-11-stable/usr.sbin/nandtool/nandtool.h
/freebsd-11-stable/usr.sbin/nandtool/usage.h
/freebsd-11-stable/usr.sbin/newsyslog/extern.h
/freebsd-11-stable/usr.sbin/pciconf/err.c
/freebsd-11-stable/usr.sbin/pkg/config.c
/freebsd-11-stable/usr.sbin/pkg/config.h
/freebsd-11-stable/usr.sbin/pkg/dns_utils.c
/freebsd-11-stable/usr.sbin/pkg/dns_utils.h
/freebsd-11-stable/usr.sbin/pkg/pkg.c
/freebsd-11-stable/usr.sbin/pmcannotate/pmcannotate.c
/freebsd-11-stable/usr.sbin/pmccontrol/pmccontrol.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_annotate.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_annotate.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_annotate_cg.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_annotate_cg.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_callgraph.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_callgraph.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_calltree.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_calltree.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_gprof.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcpl_gprof.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcstat.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcstat.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcstat_log.c
/freebsd-11-stable/usr.sbin/pmcstat/pmcstat_log.h
/freebsd-11-stable/usr.sbin/pmcstat/pmcstat_top.h
/freebsd-11-stable/usr.sbin/portsnap/make_index/make_index.c
/freebsd-11-stable/usr.sbin/portsnap/phttpget/phttpget.c
/freebsd-11-stable/usr.sbin/portsnap/portsnap/portsnap.sh
/freebsd-11-stable/usr.sbin/powerd/powerd.c
/freebsd-11-stable/usr.sbin/ppp/acf.c
/freebsd-11-stable/usr.sbin/ppp/acf.h
/freebsd-11-stable/usr.sbin/ppp/arp.c
/freebsd-11-stable/usr.sbin/ppp/arp.h
/freebsd-11-stable/usr.sbin/ppp/async.c
/freebsd-11-stable/usr.sbin/ppp/async.h
/freebsd-11-stable/usr.sbin/ppp/auth.c
/freebsd-11-stable/usr.sbin/ppp/auth.h
/freebsd-11-stable/usr.sbin/ppp/bundle.c
/freebsd-11-stable/usr.sbin/ppp/bundle.h
/freebsd-11-stable/usr.sbin/ppp/cbcp.c
/freebsd-11-stable/usr.sbin/ppp/cbcp.h
/freebsd-11-stable/usr.sbin/ppp/ccp.c
/freebsd-11-stable/usr.sbin/ppp/ccp.h
/freebsd-11-stable/usr.sbin/ppp/chap.c
/freebsd-11-stable/usr.sbin/ppp/chap.h
/freebsd-11-stable/usr.sbin/ppp/chap_ms.c
/freebsd-11-stable/usr.sbin/ppp/chap_ms.h
/freebsd-11-stable/usr.sbin/ppp/chat.c
/freebsd-11-stable/usr.sbin/ppp/chat.h
/freebsd-11-stable/usr.sbin/ppp/command.c
/freebsd-11-stable/usr.sbin/ppp/command.h
/freebsd-11-stable/usr.sbin/ppp/datalink.c
/freebsd-11-stable/usr.sbin/ppp/datalink.h
/freebsd-11-stable/usr.sbin/ppp/deflate.c
/freebsd-11-stable/usr.sbin/ppp/deflate.h
/freebsd-11-stable/usr.sbin/ppp/defs.c
/freebsd-11-stable/usr.sbin/ppp/defs.h
/freebsd-11-stable/usr.sbin/ppp/descriptor.h
/freebsd-11-stable/usr.sbin/ppp/ether.c
/freebsd-11-stable/usr.sbin/ppp/ether.h
/freebsd-11-stable/usr.sbin/ppp/exec.c
/freebsd-11-stable/usr.sbin/ppp/exec.h
/freebsd-11-stable/usr.sbin/ppp/filter.c
/freebsd-11-stable/usr.sbin/ppp/filter.h
/freebsd-11-stable/usr.sbin/ppp/fsm.c
/freebsd-11-stable/usr.sbin/ppp/fsm.h
/freebsd-11-stable/usr.sbin/ppp/hdlc.c
/freebsd-11-stable/usr.sbin/ppp/hdlc.h
/freebsd-11-stable/usr.sbin/ppp/i4b.h
/freebsd-11-stable/usr.sbin/ppp/id.c
/freebsd-11-stable/usr.sbin/ppp/id.h
/freebsd-11-stable/usr.sbin/ppp/iface.c
/freebsd-11-stable/usr.sbin/ppp/iface.h
/freebsd-11-stable/usr.sbin/ppp/ip.c
/freebsd-11-stable/usr.sbin/ppp/ip.h
/freebsd-11-stable/usr.sbin/ppp/ipcp.c
/freebsd-11-stable/usr.sbin/ppp/ipcp.h
/freebsd-11-stable/usr.sbin/ppp/iplist.c
/freebsd-11-stable/usr.sbin/ppp/iplist.h
/freebsd-11-stable/usr.sbin/ppp/ipv6cp.c
/freebsd-11-stable/usr.sbin/ppp/ipv6cp.h
/freebsd-11-stable/usr.sbin/ppp/layer.h
/freebsd-11-stable/usr.sbin/ppp/lcp.c
/freebsd-11-stable/usr.sbin/ppp/lcp.h
/freebsd-11-stable/usr.sbin/ppp/link.c
/freebsd-11-stable/usr.sbin/ppp/link.h
/freebsd-11-stable/usr.sbin/ppp/log.c
/freebsd-11-stable/usr.sbin/ppp/log.h
/freebsd-11-stable/usr.sbin/ppp/lqr.c
/freebsd-11-stable/usr.sbin/ppp/lqr.h
/freebsd-11-stable/usr.sbin/ppp/main.c
/freebsd-11-stable/usr.sbin/ppp/main.h
/freebsd-11-stable/usr.sbin/ppp/mbuf.c
/freebsd-11-stable/usr.sbin/ppp/mbuf.h
/freebsd-11-stable/usr.sbin/ppp/mp.c
/freebsd-11-stable/usr.sbin/ppp/mp.h
/freebsd-11-stable/usr.sbin/ppp/mppe.c
/freebsd-11-stable/usr.sbin/ppp/mppe.h
/freebsd-11-stable/usr.sbin/ppp/nat_cmd.c
/freebsd-11-stable/usr.sbin/ppp/nat_cmd.h
/freebsd-11-stable/usr.sbin/ppp/ncp.c
/freebsd-11-stable/usr.sbin/ppp/ncp.h
/freebsd-11-stable/usr.sbin/ppp/ncpaddr.c
/freebsd-11-stable/usr.sbin/ppp/ncpaddr.h
/freebsd-11-stable/usr.sbin/ppp/netgraph.c
/freebsd-11-stable/usr.sbin/ppp/netgraph.h
/freebsd-11-stable/usr.sbin/ppp/pap.c
/freebsd-11-stable/usr.sbin/ppp/pap.h
/freebsd-11-stable/usr.sbin/ppp/pred.c
/freebsd-11-stable/usr.sbin/ppp/pred.h
/freebsd-11-stable/usr.sbin/ppp/probe.c
/freebsd-11-stable/usr.sbin/ppp/probe.h
/freebsd-11-stable/usr.sbin/ppp/prompt.c
/freebsd-11-stable/usr.sbin/ppp/prompt.h
/freebsd-11-stable/usr.sbin/ppp/proto.c
/freebsd-11-stable/usr.sbin/ppp/proto.h
/freebsd-11-stable/usr.sbin/ppp/radius.c
/freebsd-11-stable/usr.sbin/ppp/radius.h
/freebsd-11-stable/usr.sbin/ppp/route.c
/freebsd-11-stable/usr.sbin/ppp/route.h
/freebsd-11-stable/usr.sbin/ppp/server.c
/freebsd-11-stable/usr.sbin/ppp/server.h
/freebsd-11-stable/usr.sbin/ppp/sig.c
/freebsd-11-stable/usr.sbin/ppp/sig.h
/freebsd-11-stable/usr.sbin/ppp/sync.c
/freebsd-11-stable/usr.sbin/ppp/sync.h
/freebsd-11-stable/usr.sbin/ppp/systems.c
/freebsd-11-stable/usr.sbin/ppp/systems.h
/freebsd-11-stable/usr.sbin/ppp/tcp.c
/freebsd-11-stable/usr.sbin/ppp/tcp.h
/freebsd-11-stable/usr.sbin/ppp/tcpmss.c
/freebsd-11-stable/usr.sbin/ppp/tcpmss.h
/freebsd-11-stable/usr.sbin/ppp/throughput.c
/freebsd-11-stable/usr.sbin/ppp/throughput.h
/freebsd-11-stable/usr.sbin/ppp/timer.c
/freebsd-11-stable/usr.sbin/ppp/timer.h
/freebsd-11-stable/usr.sbin/ppp/tty.c
/freebsd-11-stable/usr.sbin/ppp/tty.h
/freebsd-11-stable/usr.sbin/ppp/tun.c
/freebsd-11-stable/usr.sbin/ppp/tun.h
/freebsd-11-stable/usr.sbin/ppp/ua.h
/freebsd-11-stable/usr.sbin/ppp/udp.c
/freebsd-11-stable/usr.sbin/ppp/udp.h
/freebsd-11-stable/usr.sbin/ppp/vjcomp.c
/freebsd-11-stable/usr.sbin/ppp/vjcomp.h
/freebsd-11-stable/usr.sbin/pppctl/pppctl.c
/freebsd-11-stable/usr.sbin/pw/bitmap.c
/freebsd-11-stable/usr.sbin/pw/bitmap.h
/freebsd-11-stable/usr.sbin/pw/cpdir.c
/freebsd-11-stable/usr.sbin/pw/grupd.c
/freebsd-11-stable/usr.sbin/pw/psdate.c
/freebsd-11-stable/usr.sbin/pw/psdate.h
/freebsd-11-stable/usr.sbin/pw/pw.c
/freebsd-11-stable/usr.sbin/pw/pw.h
/freebsd-11-stable/usr.sbin/pw/pw_conf.c
/freebsd-11-stable/usr.sbin/pw/pw_group.c
/freebsd-11-stable/usr.sbin/pw/pw_log.c
/freebsd-11-stable/usr.sbin/pw/pw_nis.c
/freebsd-11-stable/usr.sbin/pw/pw_user.c
/freebsd-11-stable/usr.sbin/pw/pw_vpw.c
/freebsd-11-stable/usr.sbin/pw/pwupd.c
/freebsd-11-stable/usr.sbin/pw/pwupd.h
/freebsd-11-stable/usr.sbin/pw/rm_r.c
/freebsd-11-stable/usr.sbin/quot/quot.c
/freebsd-11-stable/usr.sbin/rarpd/rarpd.c
/freebsd-11-stable/usr.sbin/rpc.lockd/kern.c
/freebsd-11-stable/usr.sbin/rpc.umntall/mounttab.c
/freebsd-11-stable/usr.sbin/rpc.umntall/mounttab.h
/freebsd-11-stable/usr.sbin/rpc.umntall/rpc.umntall.c
/freebsd-11-stable/usr.sbin/rpcbind/util.c
/freebsd-11-stable/usr.sbin/rtadvctl/rtadvctl.c
/freebsd-11-stable/usr.sbin/rtadvd/advcap.h
/freebsd-11-stable/usr.sbin/rtadvd/control.c
/freebsd-11-stable/usr.sbin/rtadvd/control.h
/freebsd-11-stable/usr.sbin/rtadvd/control_client.c
/freebsd-11-stable/usr.sbin/rtadvd/control_client.h
/freebsd-11-stable/usr.sbin/rtadvd/control_server.c
/freebsd-11-stable/usr.sbin/rtadvd/control_server.h
/freebsd-11-stable/usr.sbin/rtprio/rtprio.c
/freebsd-11-stable/usr.sbin/sa/db.c
/freebsd-11-stable/usr.sbin/sa/extern.h
/freebsd-11-stable/usr.sbin/sa/main.c
/freebsd-11-stable/usr.sbin/sa/pathnames.h
/freebsd-11-stable/usr.sbin/sa/pdb.c
/freebsd-11-stable/usr.sbin/sa/usrdb.c
/freebsd-11-stable/usr.sbin/service/service.sh
/freebsd-11-stable/usr.sbin/services_mkdb/extern.h
/freebsd-11-stable/usr.sbin/services_mkdb/services_mkdb.c
/freebsd-11-stable/usr.sbin/services_mkdb/uniq.c
/freebsd-11-stable/usr.sbin/setfmac/setfmac.c
/freebsd-11-stable/usr.sbin/setpmac/setpmac.c
/freebsd-11-stable/usr.sbin/smbmsg/pathnames.h
/freebsd-11-stable/usr.sbin/smbmsg/smbmsg.c
/freebsd-11-stable/usr.sbin/snapinfo/snapinfo.c
/freebsd-11-stable/usr.sbin/spkrtest/spkrtest.sh
/freebsd-11-stable/usr.sbin/spray/spray.c
/freebsd-11-stable/usr.sbin/traceroute/findsaddr-udp.c
/freebsd-11-stable/usr.sbin/uathload/uathload.c
/freebsd-11-stable/usr.sbin/ugidfw/ugidfw.c
/freebsd-11-stable/usr.sbin/uhsoctl/uhsoctl.c
/freebsd-11-stable/usr.sbin/unbound/local-setup/local-unbound-setup.sh
/freebsd-11-stable/usr.sbin/usbconfig/dump.c
/freebsd-11-stable/usr.sbin/usbconfig/dump.h
/freebsd-11-stable/usr.sbin/usbconfig/usbconfig.c
/freebsd-11-stable/usr.sbin/usbdump/usbdump.c
/freebsd-11-stable/usr.sbin/utx/utx.c
/freebsd-11-stable/usr.sbin/vidcontrol/decode.c
/freebsd-11-stable/usr.sbin/vidcontrol/vidcontrol.c
/freebsd-11-stable/usr.sbin/wake/wake.c
/freebsd-11-stable/usr.sbin/watch/watch.c
/freebsd-11-stable/usr.sbin/watchdogd/watchdogd.c
/freebsd-11-stable/usr.sbin/wlandebug/wlandebug.c
/freebsd-11-stable/usr.sbin/ypbind/ypbind.c
/freebsd-11-stable/usr.sbin/yppoll/yppoll.c
/freebsd-11-stable/usr.sbin/ypset/ypset.c
329869 23-Feb-2018 rpokala

MFC r323508:

When doing a non-interactive installation, don't display an interactive
warning about a filesystem which doesn't have a mountpoint. Presumably, the
person who wrote the install script knew what they were doing.

327915 13-Jan-2018 eadler

MFC r324206:

bsdinstall(8) hardening menu: Utilize new kern.randompid=1 behaviour

Enabling the PID randomization option in bsdinstall(8)'s hardening menu
now randomizes the effective value of kern.randompid on each boot.

Previous behaviour:
When kern.randompid was enabled via the the bsdinstall(8) hardening menu,
a random value was generated and placed in the systems /etc/sysctl.conf as
kern.randompid=value
This makes the value of kern.randompid static across reboots.

New behaviour:
When kern.randompid is enabled via the bsdinstall(8) hardening menu, the
line kern.randompid=1 is placed in the systems /etc/sysctl.conf.
This takes advantage of a new kernel feature and makes the value of
kern.randompid be randomized by the kernel on each reboot.

326653 07-Dec-2017 emaste

MFC r326094: Fix indentation in bsdinstall-created wpa_supplicant.conf

r311690 (MFC of r309934) cleaned up some cases in bsdinstall to use
heredocs but broke the indentation of the generated output, because <<-
heredocs strip leading tabs.

PR: 221982

323570 14-Sep-2017 emaste

MFC r321226: bsdinstall: improve checksum mismatch error for snapshots

The usual case of a mismatched checksum for installer snapshots
(e.g., -CURRENT, -ALPHA*) is that a newer snapshot has been built and
the old install sets have been replaced. Provide a specific error
message for checksum mismatches there that suggests looking for a newer
snapshot.

Submitted by: Guangyuan Yang <yzgyyang@outlook.com>
Sponsored by: The FreeBSD Foundation

323569 14-Sep-2017 emaste

MFC r316802 (cem): bsdinstall(8): Sprinkle a snprintf to fixed size buffer

Use a snprintf to write an environment variable to a fixed-size buffer to
avoid stack overflow.

Reported by: Coverity (CWE-120)
CID: 1238926
Sponsored by: The FreeBSD Foundation

323568 14-Sep-2017 emaste

MFC r323448: bsdinstall: Ignore error return from newaliases(1)

This was originally added as "exit $SUCCESS" but with nothing to set the
SUCCESS variable. Thus it became an exit with no argument, which just
exits with the status of the preceding command.

Sponsored by: The FreeBSD Foundation

323336 09-Sep-2017 emaste

MFC r322374: bsdinstall: record DHCP config after obtaining lease

Previously we added an ifconfig_$INTERFACE line to rc.conf for each
unsuccessful DCHP attempt.

PR: 219515
Sponsored by: The FreeBSD Foundation

322254 08-Aug-2017 emaste

MFC r321734: bsdinstall: default to UEFI-only boot on arm64

Sponsored by: The FreeBSD Foundation

321182 19-Jul-2017 ngie

MFC r318723:

bsdinstall(8): fix manpage issues

- Start new sentences on new lines.
- Separate e.g. (more of an igor thing) with commas, and rewrite some examples
not to be enclosed in parentheses.

321170 18-Jul-2017 ngie

MFC r318722:

sade(8): start new sentence on new line

321168 18-Jul-2017 ngie

MFC r318693,r318694:

r318693:

Some minor style(9) fixes

- Wrap at <80 columns.
- Sort by type

r318694:

style(9): sort headers

MFC with: r318693

320088 19-Jun-2017 emaste

bsdinstall: use consistent EFI configuration across platforms

MFC r320007:
- increase arm64 EFI partition to 200M, as x86
- use EFI_BOOTPART_SIZE and EFI_BOOTPART_PATH macros on x86
- increase ZFS EFI partition to 200M

MFC r320008: bsdinstall: correct comment after r320007

PR: 201898
Approved by: re (kib)
Relnotes: Yes
Sponsored by: The FreeBSD Foundation

319983 15-Jun-2017 allanjude

MFC: r319863
bsdinstall: Make ZFS min_auto_ashift adjustment persistent

MFC: r319864
bsdinstall: support Auto ZFS mode for ARM64

Approved by: re (gjb)

319124 29-May-2017 royger

MFC r318632, r318633:

bsdinstall: mount is not needed for the ZFS install case
bsdinstall: do not use distextract in scripted mode

319016 28-May-2017 rgrimes

MFC r314833
Convert absolute links to relative links.
Style.Makefile(9) has been ignored to produce minimal diffs.

MFC r314837
The relative symlink fix causes downstream issues for
EMC DELL Isilon so revert the relative symlink fix
pending a better solution.

Reported by: ngie

MFC r315091
Revert r314833 until the problem with INSTALL_RSYMLINKS can be found
as it appears to break arm release builds.

PR: 217705
Reported by: cyclaero@gmail.com

Approved by: grehan (mentor)

318396 17-May-2017 araujo

MFC r317743:

Use nitems() from sys/param.h.

Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D9942

313762 15-Feb-2017 garga

MFC r313448:

bsdinstall: Make sure chroot filesystems are umounted after use

* DISTDIR_IS_UNIONFS is set every time BSDINSTALL_DISTDIR is mounted inside
BSDINSTALL_CHROOT. Use this flag to decide if it needs to be umounted
* BSDINSTALL_CHROOT/dev is mounted when 'bsdinstall mount' is called, there is
no need to mount it again when user goes to shell after installation

Reviewed by: allanjude
Obtained from: pfSense
MFC after: 1 week
Sponsored by: Rubicon Communications (Netgate)
Differential Revision: https://reviews.freebsd.org/D8573

311690 08-Jan-2017 dteske

MFC improvements to bsdinstall's wlanconfig module

MFC [85] revisions 309719-309720, 309901-309902, 309904-309911,
309913-309920, 309922-309924, 309926, 309928, 309930, 309932, 309934,
309937-309942, 309944-309952, 309958-309998, and 310038 (described below)

r309719: Remove unnecessary trailing backslashes
r309720: Functions in their own section
r309901: Comments
r309902: Use $( ... ) instead of `...`
r309904: Change "[ ! -z ... ]" => "[ ... ]" and "[ -z ... ]" => "[ ! ... ]"
r309905: Remove unnecessary local initializers
r309906: Consolidate locals
r309907: Replace funny block with something easy to digest
r309908: Collapse tiny if statements
r309909: Change "[ ! ... ] && ..." to "[ ... ] || ..."
r309910: Remove unnecessary quotes around number in test
r309911: Group fallbacks together
r309913: Allow $BSDINSTALL_TMPETC to contain whitespace or special chars
r309914: Add missing `-e' parameter to sed invocations
r309915: "echo | sed | sed | awk" is silly (changed to "echo | awk")
r309916: Be internally consistent (": > ..." is used elsewhere in this file)
r309917: awk(1) match() takes a regex, use /.../ to remind ourselves of this
r309918: Remove unnecessary `-n' parameter to head/tail
r309919: Whitespace
r309920: Use provided API instead of hard-coded status integers
r309922: Centralize backtitle string
r309923: There is zero harm in always passing --default-item to dialog
r309924: Always pass --default-item parameter to dialog
r309926: Change the name of a variable from $def_item_... to $default_...
r309928: Use ~ instead of match()
r309930: Use ternary operator
r309932: Remove an unnecessary "return $?" at end of function
r309934: Consolidate redirects into here documents
r309937: Whitespace (dialog options separated to minimize diffs)
r309938: Use provided API (change "dialog" to "$DIALOG")
r309939: Fix incorrect use of provided API
r309940: Reorder dialog parameters based on commonality for readability
r309941: Use provided API to centralize dialog title strings
r309942: Allow the script path to contain whitespace and special characters
r309944: Fix invalid parameter expansion (change $@ to "$@")
r309945: 1 is the default descriptor for redirects without an fd prefix
r309946: Use more succinct awk syntax
r309947: Remove unnecessary semi-colons
r309948: Remove incomplete and unnecessary creation of fd3
r309949: Utilize provided i18n strings
r309950: Whitespace
r309951: Remove an unnecessary call to f_dialog_title_restore()
r309952: Move the secondary condition into the action clause
r309958: Quote WLAN_IFACE (pedantic)
r309959: Use oft-neglected syntax "startcondition, stopcondition { ... }"
r309960: Add missing backslash
r309961: Stop repeating strings (centralize prompt string)
r309962: More efficiently make use of the exit status
r309963: Avoid non-standard options
r309964: Sort the domains
r309965: Whitespace alignment
r309966: Sanitize dialog output for portability/compatibility requirements
r309967: Use more generic f_yesno() from provided API
r309968: Properly quote variable
r309969: Send stderr to the same place as stdout
r309970: Remove completely unnecesary parentheses
r309971: Start deconstructing a conveluted hunk of code
r309972: If the first ping succeeded, why on Earth should we ping it again?
r309973: Why use $? when you can use the command itself
r309974: These two error messages have always been backwards since inception
r309975: Continued resolution of conveluted statement
r309976: You don't need parentheses for awk's printf
r309977: Whitespace and alignment
r309978: Neither printf nor print need parens in awk
r309979: This statement has too many backslashes
r309980: Just use print
r309981: Add missing quotes
r309982: Remove unnecessary quotes
r309983: Use the provided API for calculating the appropriate size of menus
r309984: Whitespace alignment
r309985: Comment
r309986: There's an API function for displaying errors
r309987: There's an API function for displaying yes/no dialogs
r309988: There's an API function for displaying pauses
r309989: There's an API function for catching errors
r309990: Calculate proper size of menu list dialog
r309991: Simplify bringup of interface after changes and catch errors
r309992: Restore previous comment
r309993: Why test $? when you can test the command
r309994: Wordsmithing
r309995: Simplify loop by moving predicate to clause
r309996: Simplify single-line if statements
r309997: The flags of a WLAN need to be quoted
r309998: It's completely pointless to replace newlines with space
r310038: Revert r309918 -- modern POSIX has deprecated -<#>/+<#> syntax

PR: bin/214933

311686 08-Jan-2017 dteske

MFC r309716: Add support for "hidden" Wi-Fi networks

PR: bin/214933
Submitted by: Maxim Filimonov <che@bein.link>
Reviewed by: dteske, allanjude, adrian

304921 27-Aug-2016 skreuzer

MFC r303877:

Write kern.randompid to /etc/sysctl.conf

Approved by: allanjude

304448 19-Aug-2016 des

MFH (r304142): ensure stripe size is non-zero multiple of 4096

PR: 211361

303749 04-Aug-2016 dim

MFC r303631:

Fix non-functional bsdinstall services dialog.

The most recent version of bsdinstall does not seem to respect any of
the checkboxes in the "Choose the services you would like to be started
at boot" dialog. None of the chosen services end up in the rc.conf file
that is installed onto the target system.

This is caused by the bsdinstall/scripts/hardening script, which
implements the new hardening options dialog. The script starts by
overwriting the previously written rc.conf.services file:

echo -n > $BSDINSTALL_TMPETC/rc.conf.services

which is obviously incorrect. It should clear out rc.conf.hardening
instead.

Approved by: re (kib)
Reviewed by: allanjude
PR: 211506
Differential Revision: https://reviews.freebsd.org/D7387

303447 28-Jul-2016 robak

MFC r302897:

Add new System Hardening menu and options to bsdinstall.

This patch add new 'hardening' file responsible for new bsdinstall
'System Hardening' menu allowing users to set some sane and carefully
picked system security options (like random process id's, hiding
other users/groups processes and others).

All options are OFF by default in this patch due to POLA principle
with intention to turn change some of them to ON by default in future.

Reviewed by: adrian, allanjude, bdrewery, nwhitehorn
Approved by: re@, adrian, allanjude

303332 26-Jul-2016 allanjude

MFC: r302790, r302795

Add new menu to bsdinstall to allow user to set date and time after
selecting timezone. The 'skip' button is the default selection.

Submitted by: des
Approved by: re (gjb)

303331 26-Jul-2016 allanjude

MFC: r302940

Fix error in bsdinstall triggered when doing a GELI encrypted install to
an MBR formatted disk

Approved by: re (gjb)
Sponsored by: ScaleEngine Inc.

303330 26-Jul-2016 allanjude

MFC: r302941

At the start of the installation process, all ZFS pools are exported and
all GELI instances are detached, to allow a restarted install to proceed.

PR: 210814
Approved by: re (gjb)

302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


/freebsd-11-stable/MAINTAINERS
/freebsd-11-stable/cddl
/freebsd-11-stable/cddl/contrib/opensolaris
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs
/freebsd-11-stable/contrib/amd
/freebsd-11-stable/contrib/apr
/freebsd-11-stable/contrib/apr-util
/freebsd-11-stable/contrib/atf
/freebsd-11-stable/contrib/binutils
/freebsd-11-stable/contrib/bmake
/freebsd-11-stable/contrib/byacc
/freebsd-11-stable/contrib/bzip2
/freebsd-11-stable/contrib/com_err
/freebsd-11-stable/contrib/compiler-rt
/freebsd-11-stable/contrib/dialog
/freebsd-11-stable/contrib/dma
/freebsd-11-stable/contrib/dtc
/freebsd-11-stable/contrib/ee
/freebsd-11-stable/contrib/elftoolchain
/freebsd-11-stable/contrib/elftoolchain/ar
/freebsd-11-stable/contrib/elftoolchain/brandelf
/freebsd-11-stable/contrib/elftoolchain/elfdump
/freebsd-11-stable/contrib/expat
/freebsd-11-stable/contrib/file
/freebsd-11-stable/contrib/gcc
/freebsd-11-stable/contrib/gcclibs/libgomp
/freebsd-11-stable/contrib/gdb
/freebsd-11-stable/contrib/gdtoa
/freebsd-11-stable/contrib/groff
/freebsd-11-stable/contrib/ipfilter
/freebsd-11-stable/contrib/ldns
/freebsd-11-stable/contrib/ldns-host
/freebsd-11-stable/contrib/less
/freebsd-11-stable/contrib/libarchive
/freebsd-11-stable/contrib/libarchive/cpio
/freebsd-11-stable/contrib/libarchive/libarchive
/freebsd-11-stable/contrib/libarchive/libarchive_fe
/freebsd-11-stable/contrib/libarchive/tar
/freebsd-11-stable/contrib/libc++
/freebsd-11-stable/contrib/libc-vis
/freebsd-11-stable/contrib/libcxxrt
/freebsd-11-stable/contrib/libexecinfo
/freebsd-11-stable/contrib/libpcap
/freebsd-11-stable/contrib/libstdc++
/freebsd-11-stable/contrib/libucl
/freebsd-11-stable/contrib/libxo
/freebsd-11-stable/contrib/llvm
/freebsd-11-stable/contrib/llvm/projects/libunwind
/freebsd-11-stable/contrib/llvm/tools/clang
/freebsd-11-stable/contrib/llvm/tools/lldb
/freebsd-11-stable/contrib/llvm/tools/llvm-dwarfdump
/freebsd-11-stable/contrib/llvm/tools/llvm-lto
/freebsd-11-stable/contrib/mdocml
/freebsd-11-stable/contrib/mtree
/freebsd-11-stable/contrib/ncurses
/freebsd-11-stable/contrib/netcat
/freebsd-11-stable/contrib/ntp
/freebsd-11-stable/contrib/nvi
/freebsd-11-stable/contrib/one-true-awk
/freebsd-11-stable/contrib/openbsm
/freebsd-11-stable/contrib/openpam
/freebsd-11-stable/contrib/openresolv
/freebsd-11-stable/contrib/pf
/freebsd-11-stable/contrib/sendmail
/freebsd-11-stable/contrib/serf
/freebsd-11-stable/contrib/sqlite3
/freebsd-11-stable/contrib/subversion
/freebsd-11-stable/contrib/tcpdump
/freebsd-11-stable/contrib/tcsh
/freebsd-11-stable/contrib/tnftp
/freebsd-11-stable/contrib/top
/freebsd-11-stable/contrib/top/install-sh
/freebsd-11-stable/contrib/tzcode/stdtime
/freebsd-11-stable/contrib/tzcode/zic
/freebsd-11-stable/contrib/tzdata
/freebsd-11-stable/contrib/unbound
/freebsd-11-stable/contrib/vis
/freebsd-11-stable/contrib/wpa
/freebsd-11-stable/contrib/xz
/freebsd-11-stable/crypto/heimdal
/freebsd-11-stable/crypto/openssh
/freebsd-11-stable/crypto/openssl
/freebsd-11-stable/gnu/lib
/freebsd-11-stable/gnu/usr.bin/binutils
/freebsd-11-stable/gnu/usr.bin/cc/cc_tools
/freebsd-11-stable/gnu/usr.bin/gdb
/freebsd-11-stable/lib/libc/locale/ascii.c
/freebsd-11-stable/sys/cddl/contrib/opensolaris
/freebsd-11-stable/sys/contrib/dev/acpica
/freebsd-11-stable/sys/contrib/ipfilter
/freebsd-11-stable/sys/contrib/libfdt
/freebsd-11-stable/sys/contrib/octeon-sdk
/freebsd-11-stable/sys/contrib/x86emu
/freebsd-11-stable/sys/contrib/xz-embedded
/freebsd-11-stable/usr.sbin/bhyve/atkbdc.h
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.c
/freebsd-11-stable/usr.sbin/bhyve/bhyvegc.h
/freebsd-11-stable/usr.sbin/bhyve/console.c
/freebsd-11-stable/usr.sbin/bhyve/console.h
/freebsd-11-stable/usr.sbin/bhyve/pci_fbuf.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.c
/freebsd-11-stable/usr.sbin/bhyve/pci_xhci.h
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.c
/freebsd-11-stable/usr.sbin/bhyve/ps2kbd.h
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.c
/freebsd-11-stable/usr.sbin/bhyve/ps2mouse.h
/freebsd-11-stable/usr.sbin/bhyve/rfb.c
/freebsd-11-stable/usr.sbin/bhyve/rfb.h
/freebsd-11-stable/usr.sbin/bhyve/sockstream.c
/freebsd-11-stable/usr.sbin/bhyve/sockstream.h
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.c
/freebsd-11-stable/usr.sbin/bhyve/usb_emul.h
/freebsd-11-stable/usr.sbin/bhyve/usb_mouse.c
/freebsd-11-stable/usr.sbin/bhyve/vga.c
/freebsd-11-stable/usr.sbin/bhyve/vga.h
302320 03-Jul-2016 allanjude

Add more machines to the bsdinstall workaround blacklist

Apply the LenovoFix (fake partition in pMBR is 2nd rather than 1st)
and GPT Active fix (mark the fake pMBR partition active) to respective
hardware that is confirmed to require such to boot correct.

Submitted by: Sam Fourman Jr. <sfourman@gmail.com> (ThinkPad W520)
Submitted by: Matthias Apitz <guru@unixarea.de> (Latitude E6330)
Approved by: re (gjb)
Sponsored by: ScaleEngine Inc.


302319 03-Jul-2016 allanjude

Fix an error in bsdinstall when ZFS installation uses a bootpool

A separate bootpool is used when the selected partition type is MBR
or when the disk is GELI encrypted and a UEFI loader is selected.

BIOS avoids the bootpool by using bootcode and loader that support GELI.

bsdinstall did not remount the bootpool after creating the main pool,
which caused an error when mkdir tried to create /boot/zfs

PR: 210717
Approved by: re (gjb)
Sponsored by: ScaleEngine Inc.


302145 23-Jun-2016 emaste

bsdinstall: increase EFI partition size to 200MB

A larger EFI file system size will facilitate multi-boot configurations
and the installation other EFI applications like firmware update tools.
200MB matches OS X.

Note that this changes only the partition size, not the file system that
bsdinstall places there. We need to do both, but as the partition size
is difficult to adjust later make this change for now so that at least
systems installed with FreeBSD 11.0 have a partition layout with room
to grow.

Reviewed by: allanjude, imp
Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6935


302025 20-Jun-2016 wma

ARM64: bsdinstall support for creating EFI partitions

This patch enables bsdinstall to create EFI partition during installation and uploading it's contents,
making the ARM64 FreeBSD installation bootable.

Obtained from: Semihalf
Sponsored by: Cavium
Approved by: re
Reviewed by: allanjude, emaste, nwhitehorn, wma
Differential Revision: https://reviews.freebsd.org/D6853


301787 10-Jun-2016 allanjude

Fix bsdinstall for root-on-zfs with MBR partitioning

Fix an error where vfs.root.mountfrom was not always set as required
when creating a bootpool. After the recent geliboot changes, it was only
set if the main pool was encrypted.

Also resolve an error where the bootpool was unmounted twice causing
bsdinstall to stop with an error message about the failed command.

Approved by: re (gjb)
Sponsored by: BSDCan Hacker Lounge


301694 08-Jun-2016 avos

bsdinstall: add country/regulatory domain configuration dialog.

Allow to setup country and/or regulatory domain before scanning
(since channel list is affected by regulatory restrictions this may
impact scan results).

PR: 182600 (originally)
Differential Revision: https://reviews.freebsd.org/D6325


300735 26-May-2016 avos

bsdinstall: unbreak static address assignment for wired networks.

This fixes regression introduced in r298946 (fixes static address
assignment for wireless networks).

Reported & submitted by: allanjude


300546 24-May-2016 allanjude

Only set kern.geom.part.mbr.enforce_chs=0 once, instead of once per disk

Sponsored by: ScaleEngine Inc.


300545 24-May-2016 allanjude

Add support for RAID 1+0 (striped mirrors) to bsdinstall/zfsboot

Sponsored by: ScaleEngine Inc.


300523 23-May-2016 allanjude

Only export and re-import the root pool if installing on MBR

This step is required in order to dd the boot2 bits into the ZFS partition

Sponsored by: ScaleEngine Inc.


300521 23-May-2016 allanjude

Fix missing pool name in zfs set command


300509 23-May-2016 allanjude

Fix error in bsdinstall where additional filesystems cannot be mounted

Do not set canmount=noauto on the boot environment at create time, because
this causes / to not be mounted, and since the chroot is read only, new
mountpoints cannot be created.

The property is set later, when other properties are adjusted

Reported by: HardenedBSD
Sponsored by: ScaleEngine Inc.


300436 22-May-2016 allanjude

bsdinstall/zfsboot GPT+BIOS+GELI installs now make use of GELIBOOT

In this configuration, a separate bootpool is not required.
This allows ZFS Boot Environments to be used with GELI encrypted ZFS pools.

Support for GPT+EFI+GELI is planned for the future.

Tested by: Joseph Mingrone, HardenedBSD
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D5869


300425 22-May-2016 allanjude

Fix default ZFS layout to work better by default with sysutils/beadm

The root file system is mounted early via vfs.root.mountfrom.
The canmount=noauto property only affects the zfs rc.d script.
This ensures that the 'default' BE is not mounted overtop of another BE when
one is selected from the beastie menu

Sponsored by: ScaleEngine Inc.


300417 22-May-2016 bapt

Fix typo in comments for the zfsboot script

Submitted by: Colby Swandale <colby@taplaboratories.com.au> (via github)


299366 10-May-2016 allanjude

bsdinstall/zfsboot: Do not mirror swap when swapsize is 0

PR: 209415
Submitted by: Ganael LAPLANCHE <ganael.laplanche@corp.ovh.com>
MFC after: 2 weeks


298946 02-May-2016 avos

bsdinstall: fix static address assignment for protected wireless networks.

Filter out IFCONFIG_PREFIX variable (which may contain WPA keyword)
from ifconfig parameters.

PR: 169199


298884 01-May-2016 pfg

usr.sbin/bsdconfig: minor spelling fixes on comments.

No functional change.


298624 26-Apr-2016 ed

Remove unportable calls to basename().

The POSIX version of basename() doesn't use a 'const char *' argument;
the function may overwrite its input buffer. Instead of copying the
input string, let's just simplify this code by using our getprogname()
function that already returns the name of the application in the right
format.

Reviewed by: allanjude
Differential Revision: https://reviews.freebsd.org/D6094


298243 19-Apr-2016 allanjude

Add a new installation type to bsdinstall/zfsboot: BIOS+UEFI

Installs both pmbr+gptzfsboot as well as boot1.efifat in separate partitions
The resulting system can be booted with either UEFI or BIOS/CSM.
Preference is controlled by the user's firmware boot settings.

This is now the default for zfsboot installs

PR: 208629
Submitted by: Galael LAPLANCHE <ganael.laplanche@corp.ovh.com> (original version)


298107 16-Apr-2016 gjb

Merge the projects/release-pkg branch to head.

This allows packaging the base system with pkg(8), including
but not limited to providing the ability to provide upstream
binary update possibilities for non-tier-1 architectures.

This merge is a requirement of the 11.0-RELEASE, and as such,
thank you to everyone that has tested the project branch.

Documentation in build(7) etc. is still somewhat sparse, but
updates to those parts will follow.

Sponsored by: The FreeBSD Foundation


297713 08-Apr-2016 allanjude

bsdinstall/zfsboot should create /tmp and /var/tmp if they do not exist

PR: 208629
PR: 208568
Submitted by: Galael LAPLANCHE <ganael.laplanche@corp.ovh.com>
MFC after: 2 weeks


297712 08-Apr-2016 allanjude

Do not add swap to fstab when swapsize is 0

If a user requested encrypted swap, but 0 sized, it would still be added to fstab

PR: 208630
Submitted by: Ganael LAPLANCHE <ganael.laplanche@corp.ovh.com>
MFC after: 2 weeks
Sponsored by: ScaleEngine Inc.


296988 17-Mar-2016 allanjude

Remove 50% ZFS conditional from bsdinstall/zfsboot

Remove the requirement that the resulting partition table be atleast 50% ZFS

PR: 208094
Requested by: brooks
Sponsored by: ScaleEngine Inc.


295074 30-Jan-2016 allanjude

The zfsboot automated part of bsdinstall now supports UEFI

MFC after: 3 days
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D4960


294191 16-Jan-2016 allanjude

Never 4k align the MBR bootpool because zfsldr can not deal with a gap

If the bootpool does not start at the first sector of the BSD partition
then zfsldr seeks to the wrong offset inside the ZFS vdev label, and is
unable to find zfsboot, so the system does not boot

If 4k alignment is requested, align the BSD partition in the MBR table,
and align the swap and data pool, but the bootpool must start at sector 1

While here, if 4k alignment is requested, disable MBR CHS alignment, as
this results in not-4k aligned partitions.

Reported by: Alex Wilkinson
MFC after: 5 days
Sponsored by: ScaleEngine Inc.


293860 14-Jan-2016 vangyzen

bsdinstall: Suggest the GPT+Active workaround on Dell T5810

The Dell Precision Tower 5810 fails to boot from GPT in Legacy/BIOS mode
without the Active flag in the Protective MBR. Suggest the workaround
during installation.

Since an increasing number of Dell systems exhibit this behavior,
I imagine all Dells past a certain date will do so. I would like
to suggest the workaround for all Dells with a BIOS date of, say,
2014 or later, but I would need to test a variety of systems before
committing such a change.

Reviewed by: allanjude, dteske
MFC after: 5 days
Relnotes: We should probably suggest using GPT+Active on "recent" Dells.
Sponsored by: Dell Inc.
Differential Revision: https://reviews.freebsd.org/D4075


293223 05-Jan-2016 gjb

Merge ^/projects/release-install-debug:

- Rework MANIFEST generation and parsing via bsdinstall(8).
- Allow selecting debugging distribution sets during install.
- Rework bsdinstall(8) to fetch remote debug distribution sets
when they are not available on the local install medium.
- Allow selecting additional non-GENERIC kernels during install.
At present, GENERIC is still required, and installed by default.

Tested with: head@r293203
Sponsored by: The FreeBSD Foundation


292832 28-Dec-2015 dteske

Explicitly set permissions on entropy files

Differential Revision: https://reviews.freebsd.org/D3933
Submitted by: jmg
Reviewed by: delphij, markm
Approved by: secteam (delphij)
MFC after: 3 days
X-MFC-to: stable/10 stable/9


291877 06-Dec-2015 nwhitehorn

Adapt to new wireless scheme where base wlan interfaces do not show up in
ifconfig anymore.


291348 26-Nov-2015 bdrewery

Use LIBEXECDIR for /usr/libexec.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division


290340 03-Nov-2015 dteske

Fix typo in error message

Differential Revision: https://reviews.freebsd.org/D3997
Submitted by: git_johnko.ca (John Ko)
MFC after: 3 days
X-MFC-to: stable/10 stable/9


288266 26-Sep-2015 bdrewery

Add more SUBDIR_PARALLEL.

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division


288228 25-Sep-2015 bdrewery

META_MODE: Remove DEP_MACHINE from Makefile.depend files.

This has not been needed since r246865 in projects/bmake.

Sponsored by: EMC / Isilon Storage Division


288226 25-Sep-2015 bdrewery

META_MODE: Remove DEP_RELDIR from Makefile.depend files.

This has not been needed since r284171 in projects/bmake.

Sponsored by: EMC / Isilon Storage Division


287843 16-Sep-2015 allanjude

Add a number of models to the bsdinstall GPT hack blacklist

PR: 194359
Approved by: bapt (mentor)
MFC after: 2 weeks
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3525


287695 11-Sep-2015 dteske

Replace `return' outside of function with exit

MFC after: 3 days
X-MFC-to: stable/10
Pointy hat to: me


287694 11-Sep-2015 dteske

Use a variable for readability

MFC after: 3 days
X-MFC-to: stable/10


287693 11-Sep-2015 dteske

Update copyright

MFC after: 3 days
X-MFC-to: stable/10


287692 11-Sep-2015 dteske

Better to reset trap and explicitly exit success

MFC after: 3 days
X-MFC-to: stable/10


287691 11-Sep-2015 dteske

Remove trailing newline at EOF

MFC after: 3 days
X-MFC-to: stable/10


287690 11-Sep-2015 dteske

Produce meaningful exit code

MFC after: 3 days
X-MFC-to: stable/10


287689 11-Sep-2015 dteske

Explicitly exit with success

MFC after: 3 days
X-MFC-to: stable/10


287688 11-Sep-2015 dteske

Explicitly exit with success

MFC after: 3 days
X-MFC-to: stable/10


287687 11-Sep-2015 dteske

Update copyrights

MFC after: 3 days
X-MFC-to: stable/10


287686 11-Sep-2015 dteske

Produce meaningful exit code

MFC after: 3 days
X-MFC-to: stable/10


287685 11-Sep-2015 dteske

Remove use of return outside of function

MFC after: 3 days
X-MFC-to: stable/10


287683 11-Sep-2015 dteske

Ignore error results from newaliases(1)

MFC after: 3 days
X-MFC-to: stable/10


286285 04-Aug-2015 gjb

Ensure the local MANIFEST is always used when verifying remote
distribution sets.

MFC after: immediately
Sponsored by: The FreeBSD Foundation


285732 21-Jul-2015 allanjude

Add the Dell E7240 laptop and Intel DP965LT motherboard to the list for the GPT active workaround

PR: 194359
Requested by: sbruno, hiren
Approved by: marcel
MFC after: 3 days
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3139


285679 18-Jul-2015 allanjude

Add support for two workarounds for known issues booting GPT in legacy mode on some hardware

For Lenovo laptops with buggy bios (x220, t420, t520):
Write the 0xee entry into the second slot in the pmbr instead of the first

For some Dell and HP models:
The BIOS gives a warning message when booting in legacy mode from a GPT partitioned disk where the 0xee partition in the pmbr is not flagged active
For models known to have this problem, mark the pmbr active during installation

Use smbios data to identify machines known to be affected by any of the above, and offer the user the option to apply the workaround

In bsdinstall's ufs auto mode (autopart partition wizard):
Allow users to select which type of partition table to use
Keep current defaults: MBR for BIOS, GPT for UEFI
This allows users to choose GPT for legacy boot if they wish

PR: 184910
PR: 194359
Reviewed by: Michael Dexter
Approved by: marcel
MFC after: 3 days
X-MFC-With: r285594
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3091


285557 14-Jul-2015 allanjude

Make bsdinstall's zfsboot script align partitions to 4k/1m when the user requests it

PR: 195174
Reviewed by: darius
Approved by: brueffer
MFC after: 3 days
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3062


285554 14-Jul-2015 allanjude

Set a mountpoint on the root of the pool so user-created datasets have a mountpoint to inherit

Reviewed by: darius
Approved by: brueffer
MFC after: 3 days
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3063


285553 14-Jul-2015 allanjude

Have bsdinstall's zfsboot script make /var/audit its own dataset, so it is not part of the OS boot environment

PR: 199864
Submitted by: Jason Unovitch
Approved by: brueffer
MFC after: 3 days
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D2861


285482 13-Jul-2015 allanjude

Fix a typo in bsdinstall

A variable was misspelled resulting in chmod executing on the installer instead of on the target chroot

PR: 191402
Submitted by: Martin Simmons <martin@lispworks.com>
Approved by: brueffer
MFC after: 3 days
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3061


284345 13-Jun-2015 sjg

Add META_MODE support.

Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision: D2796
Reviewed by: brooks imp


283288 22-May-2015 allanjude

Fix a syntax error in bsdinstall/zfsboot

Differential Revision: https://reviews.freebsd.org/D2571
Submitted by: Michael Dexter
Approved by: dteske
MFC after: 1 week
X-MFC-With: r283023, r282443
Sponsored by: ScaleEngine Inc.


283023 17-May-2015 allanjude

bsdinstall/zfsboot: Skip adding swap lines to /etc/fstab if swap is 0 sized

Differential Revision: https://reviews.freebsd.org/D2571
Reviewed by: dim
Approved by: eadler (mentor)
Sponsored by: ScaleEngine Inc.


282443 05-May-2015 allanjude

Add a sanity check to the swap size in zfsboot of bsdinstall
Loop until the user enters a valid size (>100mb or 0)

Differential Revision: https://reviews.freebsd.org/D2299
Reported By: Shawn Webb
Reviewed by: roberto
Approved by: brd
MFC after: 2 weeks
Sponsored by: ScaleEngine Inc.


281616 16-Apr-2015 dteske

Add "GELI Passphrase:" prompt to boot loader.

A new loader.conf(5) option of geom_eli_passphrase_prompt="YES" will now
allow you to enter your geli(8) root-mount credentials prior to invoking
the kernel.

See check-password.4th(8) for details.

Differential Revision: https://reviews.freebsd.org/D2105
Reviewed by: imp, kmoore
Discussed on: -current
MFC after: 3 days
X-MFC-to: stable/10
Relnotes: yes


281167 06-Apr-2015 dteske

Unbreak ZFS+GELI install option.

Reported by: delphij
Submitted by: delphij
Pointy hat to: dteske (me)
MFC after: 3 days
X-MFC-to: stable/10 stable/9
X-MFC-with: r281160


281160 06-Apr-2015 dteske

Fix permissions on ZFS root encryption key (644 -> 600).

MFC after: 3 days
X-MFC-to: stable/10 stable/9
Security: CVE-2015-1415
Reported by: Pierre Kim


280939 01-Apr-2015 dteske

Whoops! "arc commit --revision" != "arc diff --update"


280938 01-Apr-2015 dteske

Add "GELI Passphrase:" prompt to boot loader.

Summary:
Add "GELI Passphrase:" prompt to boot loader.

A new loader.conf(5) option of geom_eli_passphrase_prompt="YES" will now
allow you to enter your geli(8) root-mount credentials prior to invoking
the kernel.

See check-password.4th(8) for details.

Differential Revision: https://reviews.freebsd.org/D2105
Reviewed by: (your name[s] here)
MFC after: 3 days
X-MFC-to: stable/10
Relnotes: yes

Test Plan:
Drop a head copy of check-password.4th into /boot and then apply the patch
(only the patch to /boot/check-password.4th is required; no other changes are
required but you do have to have a HEAD copy of check-password.4th to
apply the patch).

NB: The rest of your /boot files can be up to 2 years old but no older.
NB: The test won't work unless your kernel has the following change

https://svnweb.freebsd.org/base?view=revision&revision=273489

Now, put into /boot/loader.conf:

geom_eli_passphrase_prompt="YES"

and reboot.

You should be prompted for a GELI passphrase before the menu (if enabled),
just after loading loader.conf(5).

NB: It doesn't matter if you're using GELI or not. However if you are using
GELI and a sufficiently new enough release (has SVN r273489) and you entered
the proper passphrase to mount your GELI encrypted root device(s), you should
notice that the boot process did not stop (you went from loader all the way to login).

Reviewers: cperciva, allanjude, scottl, kmoore

Subscribers: jkh, imp

Differential Revision: https://reviews.freebsd.org/D2105


280311 21-Mar-2015 dteske

Update copyright(s)

MFC after: 3 days
X-MFC-to: stable/10


280310 21-Mar-2015 dteske

Whitespace cleanup(s).

MFC after: 3 days
X-MFC-to: stable/10


280235 18-Mar-2015 allanjude

Remove a non-required unsafe condition added in the previous commit

Reviewed by: bapt
Approved by: dteske
Sponsored by: ScaleEngine Inc.


280234 18-Mar-2015 allanjude

Fix the handbook install option in bsdinstall

bsdconfig's f_package_add doesn't seem to support using the pkg repo from /etc/pkg/FreeBSD.conf, it also tries to run the commands on the installer image, not in the destination chroot

Instead, manually bootstrap pkg in the chroot, and then install the requested packages (in the chroot)

Doesn't use pkg -c, because pkg is not installed on the installer image

PR: 196250
Differential Revision: https://reviews.freebsd.org/D2026
Approved by: bapt
Sponsored by: ScaleEngine Inc.


277950 30-Jan-2015 nwhitehorn

Use MBR by default on BIOS systems. An increasing number of motherboards
assume that GPT means UEFI boot, resulting in the installation of
uninstallable systems. This needs a little more work before MFC, in
particular based on disk size (> 2 TB + BIOS + MBR is not workable). That
will come soon.


277333 18-Jan-2015 smh

Fix bsdinstall when working with geli boot disks

PR: 196790
Differential Revision: https://reviews.freebsd.org/D566
Submitted by: Michael Gmelin <grembo@FreeBSD.org>
MFC after: 2 weeks
Sponsored by: Multiplay


276360 29-Dec-2014 joel

mdoc: remove EOL whitespace.


276027 21-Dec-2014 smh

Switch zfsboot installer force 4K option to use vfs.zfs.min_auto_ashift=12

Previously we used gnop(8) to fake 4K sector size disks but ZFS now has a
sysctl to control this when creating new top level vdev's so use that
instead.

Differential Revision: D566
MFC after: 1 month
Sponsored by: Multiplay


275874 18-Dec-2014 dteske

In bsdinstall's distextract, replace mixed_gauge() of dialog(3) with
new dpv(3) wrapper to dialog(3) dialog_gauge(). The dpv(3) library provides
a more flexible and refined interface similar to dialog_mixedgauge() however
is implemented atop the more generalized dialog_gauge() for portability.
Noticeable improvements in bsdinstall's distextract will be a status line
showing data rate information (with support for localeconv(3) to format
numbers according to $LANG or $LC_ALL conversion information), i18n support,
improved auto-sizing of gauge widget, a ``wheel barrow'' to keep the user
informed that things are moving (even if status/progress has not changed),
improved color support (mini-progress bars use the same color, if enabled,
as the main gauge bar), and several other improvements (some not visible).
dpv stands for "dialog progress view" (dpv was introduced in SVN r274116).

Differential Revision: https://reviews.freebsd.org/D714
Discussed on: -current
Reviewed by: julian
MFC after: 3 days
X-MFC-to: stable/10
Relnotes: Improved installer feedback from bsdinstall distextract


275054 25-Nov-2014 bapt

Convert usr.sbin to LIBADD
Reduce overlinking


273922 01-Nov-2014 nwhitehorn

Rewrite some of the disk setup documentation to be clearer and contain
less obsolete information. Also move the entropy command down the list --
the list is ordered by likelihood of use rather than alphabetically.

MFC after: 1 week


273005 12-Oct-2014 nwhitehorn

Only allow ZFS boot on GPT; the MBR ZFS bootblocks cannot be installed using
gpart bootcode as /boot/zfsboot needs to be split into multiple pieces by
hand and copied to different areas of the partition.


273003 12-Oct-2014 nwhitehorn

Centralize determination of boot firmware (UEFI vs. BIOS/CSM) into a
function x86_bootmethod() and fix deviations from style(9).


272379 01-Oct-2014 dteske

Optimize program flow for execution speed. Also fix some more style(9) nits
while here:
+ Fix an issue when extracting small archives where dialog_mixedgauge was
not rendering; leaving the user wondering if anything happened.
+ Add #ifdef's to assuage compilation against older libarchive
NB: Minimize diff between branches; make merging easier.
+ Add missing calls to end_dialog(3)
+ Change string processing from strtok(3) to strcspn(3) (O(1) optimization)
+ Use EXIT_SUCCESS and EXIT_FAILURE instead of 0/1
+ Optimize getenv(3) use, using stored results instead of calling repeatedly
NB: Fixes copy/paste error wherein we display getenv(BSDINSTALL_DISTDIR) in
an error msgbox when chdir(2) to getenv(BSDINSTALL_CHROOT) fails
(wrong variable displayed in msgbox).
+ Use strtol(3) instead of [deprecated] atoi(3)
+ Add additional error checking (e.g., check return of archive_read_new(3))
+ Assign DECONST strings to static variables
+ Fix typo in distextract.c error message (s/Could could/Could not/)
+ Add comments and make a minor whitespace adjustment

Reviewed by: nwhitehorn, julian


272278 29-Sep-2014 dteske

Use snprintf(3) in place of unbounded sprintf(3) (prevent buffer overflow).
Use adequately sized buffer for error(s) (512 -> PATH_MAX + 512).
Fix the following style(9) nits while here:
- distfetch.c uses PATH_MAX while distextract.c uses MAXPATHLEN;
standardize on one (PATH_MAX)
- Move $FreeBSD$ from comment to __FBSDID()
- Sort included headers (alphabetically, sys/* at top)
- Add missing header includes (e.g., <stdlib.h> for getenv(3),
calloc(3)/malloc(3)/free(3), and atoi(3); <string.h> for strdup(3),
strrchr(3), strsep(3), and strcmp(3); <ctype.h> for isspace(3); and
<unistd.h> for chdir(2), etc.)
- Remove rogue newline at end of distfetch.c
- Don't declare variables in if-, while-, or other statement
NB: To prevent masking of prior declarations atop function
- Perform stack alignment for variable declarations
- Add missing function prototype for count_files() in distextract.c
- Break out single-line multivariable-declarations
NB: Aligning similarly-named variables with one-char difference(s)
NB: Minimizes diffs and makes future diffs more clear
- Use err(3) family of functions (requires s/int err;/int retval;/g)

Reviewed by: nwhitehorn, julian


272274 28-Sep-2014 allanjude

Change the /var dataset in the default ZFS layout to have the
ZFS property canmount=off so that /var/db/pkg and other such directories
are part of the / dataset, and only /var/mail, /var/log, and /var/crash
are excluded from the ZFS boot environment (beadm).

PR: 193971
Approved by: jmg
MFC after: ASAP
Relnotes: yes
Sponsored by: ScaleEngine Inc.


272173 26-Sep-2014 des

Add a line to the post-installation configuration dialog to enable the
local_unbound service.

MFC after: 3 days


271567 14-Sep-2014 nwhitehorn

ZFS support isn't actually experimental anymore, so no need to scare
people.


271563 14-Sep-2014 allanjude

Make the root-on-zfs part of the installer warn a user who booted the installer via UEFI that we do not support booting ZFS via UEFI yet

PR: 193595
Approved by: nwhitehorn
MFC after: 5 days
Sponsored by: ScaleEngine Inc.
CR: https://reviews.freebsd.org/D782


271553 13-Sep-2014 nwhitehorn

Rename the choices in the partitioning methods dialog to reflect current
reality. In particular, draw a connection between the auto ZFS script and
the auto UFS one, since they fulfill similar functions. I'm not sure the
auto ZFS code is actually experimental anymore, so it might be worth
changing that label still.


271552 13-Sep-2014 nwhitehorn

Make the default choice for the chroot shell at the end be "No". This allows
just pressing enter repeatedly to successfully install a reasonable system.


271539 13-Sep-2014 nwhitehorn

Add ZFS support to the bsdinstall partition editor and sade.

Submitted by: Kurt Lidl (original version)
MFC after: 6 weeks


270657 26-Aug-2014 se

More man pages that need to know about vt in addition to syscons.

MFC after: 3 dayS


269653 07-Aug-2014 thompsa

Give a brief message as to what error was encountered to help the user along.

Reviewed by: nwhitehorn
MFC after: 2 weeks


269074 24-Jul-2014 des

Strip the patch level from the release name before trying to fetch the
distribution.

PR: 170264
Approved by: nathanw
MFC after: 1 week


268540 11-Jul-2014 nwhitehorn

Allow up to 512K for boot code on GPT with BIOS. As pmbr.s says in a comment,
"545K should be enough for any boot code". This rounds down slightly.

Reported by: Matthew Fuller
MFC after: 2 weeks


268256 04-Jul-2014 nwhitehorn

After EFI support was added to the installer, it needed to allow boot
partitions of types other than "freebsd-boot" (in particular, "efi").
This allows the removal of some nasty hacks for supporting PowerPC systems,
in particular aliasing freebsd-boot to apple-boot on APM and an IBM-specific
code on MBR.

This changes the installer to use the correct names, which also breaks a
degeneracy in the meaning of "freebsd-boot" that allows the addition
of support for some newer IBM systems that can boot from GPT in addition to
MBR. Since I have no idea how to detect which those systems are, leave
the default on IBM PPC systems as MBR for now.


267668 20-Jun-2014 bapt

use .Mt to mark up email addresses consistently (part2)

PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>


266555 22-May-2014 dteske

Fix syntax error thrown at the point of creating the root pool, caused by
an embedded newline appearing within the options string surrounded by
double-quotes. Rework the logic that goes into setting dataset options on
the root pool dataset while we're here -- added two new variables (which
can be altered via scripting) ZFSBOOT_POOL_CREATE_OPTIONS and also
ZFSBOOT_BOOT_POOL_CREATE_OPTIONS for setting pool/dataset attributes at
the time of pool creation. The former is for setting options on the root
pool (zroot) and the latter is for setting options on the optional separate
boot pool (bootpool) implicitly enabled when using either GELI or MBR. The
default value for the root pool variable (ZFSBOOT_POOL_CREATE_OPTIONS) is
"-O compress=lz4 -O atime=off" and the default value for separate boot pool
variable (ZFSBOOT_BOOT_POOL_CREATE_OPTIONS) is NULL (no additional options
for the separate boot pool dataset).

Reviewed by: allanjude
MFC after: 7 days
X-MFC-with: r266107-266109


266157 15-May-2014 brooks

Revert r261296. This removes the WITHOUT_NCURSESW option.

It was the wrong direction. We will instead remove use of the
non-wide-character supporting libncurses.


266109 15-May-2014 roberto

Fix the "disks" variable reuse.

It starts off being used to track the grammar for the number of disks
(singular vs plural) and then it is reused as the list of available disks.

Replace the variable with disks_grammar and move 'disk' and 'disks' to
msg_ vars so they can be translated in the future.

Submitted by: Allan Jude <freebsd@allanjude.com>
Reviewed by: roberto
MFC after: 2 weeks
Sponsored by: ScaleEngine Inc.


266108 15-May-2014 roberto

Updates to the datasets created by zfsboot.

Set compress=lz4 for the entire pool, removing it from the individual
datasets

Remove exec=no from /usr/src, breaks the test suite.

Submitted by: Allan Jude <freebsd@allanjude.com>
Reviewed by: roberto
MFC after: 2 weeks
Sponsored by: ScaleEngine Inc.


266107 15-May-2014 roberto

Here is a patch for the bsdinstall root-on-zfs stuff that adds optional
encryption for swap, and optional gmirror for swap (which can be combined)

Submitted by: Allan Jude <freebsd@allanjude.com>
Requested By: roberto
Sponsored By: ScaleEngine Inc.
MFC after: 2 weeks


265420 06-May-2014 imp

Use src.opts.mk in preference to bsd.own.mk except where we need stuff
from the latter.


265016 27-Apr-2014 nwhitehorn

Finish connecting up installer UEFI support. If the kernel was booted using
EFI, set up the disks for an EFI system. If booted from BIOS/CSM, set up
for BIOS.


264978 26-Apr-2014 nwhitehorn

Add EFI support to the installer. This requires that the kernel provide
a sysctl to determine what firmware is in use. This sysctl does not exist
yet, so the following blocks are in front of the wheels:
- I've provisionally called this "hw.platform" after the equivalent thing
on PPC
- The logic to check the sysctl is short-circuited to always choose BIOS.
There's a comment in the top of the file about how to turn this off.

If IA64 acquired a boot1.efifat-like thing (probably with very few
modifications), the same code could be adapted there.


264841 23-Apr-2014 dteske

Update zfsboot to coincide with r264840 to bsdconfig(8) adding
GEOM support (thereby adding GEOM support to the disk selection
menu of bsdinstall(8)'s `zfsboot' module updated herein).

MFC after: 1 week
X-MFC-with: 264840


264488 15-Apr-2014 dteske

When merging docsinstall and zfsboot updates to stable/9 it was discovered
that the slightly older dialog(1) requires --separate-output when using the
--checklist widget to force response to produce unquoted values (whereas in
stable/10 --checklist widget without --separate-output will only quote the
checklist labels in the response if the label is multi-word (contains any
whitespace).

Since these enhancements (see revisions 263956 and 264437) were developed
originally on 10, the --separate-output option was omitted. When merged to
stable/9, we (Allan Jude) and I found during testing that the "always-
quoting" of the response was causing things like struct interpolation to
fail (`f_struct device_$dev' would produce `f_struct device_\"da0\"' for
example -- literal quotes inherited from dialog(1) --checklist response).

To see the behavior, execute the following on stable/9 versus stable/10:

dialog --checklist disks: 0 0 0 da0 "" off da1 "" off

Check both items and hit enter. On stable/10, the response is:

da0 da1

On stable/9 the response is:

"da0" "da1"

If you use the --separate-output option, the response is the same for both:

da0
da1

So applying --separate-output on every platform until either one of two
things occurs 1) dialog(1,3) gets synchronized between stable/9, higher or
2) we drop support for stable/9.

MFC after: 3 days
Reviewed by: Allan Jude


264448 14-Apr-2014 dteske

Fix typo in debug/log statement.

Submitted by: Rick Miller <vmiller@hostileadmin.com>


264400 13-Apr-2014 imp

NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.


263768 26-Mar-2014 bdrewery

Revert r263638 (create /root dataset) for now as it breaks install and needs
more work in cases such as single-user mode.


263638 22-Mar-2014 bdrewery

Create a root dataset so that /root is outside of the boot environment.

Discussed with: dteske on sysinstall@
MFC after: 1 month


261960 16-Feb-2014 dteske

Add zfsboot to the scripted interface of bsdinstall(8); oops!
NB: If the zfsboot variables ($ZFSBOOT_*) are set, a script is
assumed to want zfsboot module instead of scriptedpart module.

Submitted by: Loïc Brarda <loic.brarda@cern.ch>
Reviewed by: nwhitehorn@
MFC after: 3 days


261296 30-Jan-2014 brooks

Merge from CheriBSD:
commit c1acf022c533c5ae27e0cd556977eafe3f5959eb
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date: Fri Jan 17 21:46:44 2014 +0000

Add an option WITHOUT_NCURSESW to suppress building and linking to
libncursesw. While wide character support it useful we'd like to
only need one ncurses library on embedded systems.

MFC after: 4 weeks
Sponsored by: DARPA, AFRL


260900 20-Jan-2014 dteske

Dummy commit (whitespace changes and style nits) to show previous commit
(SVN r260866) was [in-part] Submitted-by: Christoph Mallon ...
<christoph.mallon@gmx.de>

MFC After: 3 days
X-MFC-With: r260866


260866 18-Jan-2014 dteske

Fix a bad comparison operator (s/==/=/), and address a use-case issue where-
in the one-line comment associated with the dumpdev setting was not present
for the case where the user deselects the dumpdev service (restoring pre-
r256348 behaviour.

MFC After: 3 days


260262 04-Jan-2014 gavin

Allow bsdinstall to use WPA-Enterprise networks when installing. This
only allows basic username/password config, and does not provide the
ability to set any of the other WPA options. Regardless, this is
generally sufficient to associate.

Perhaps in the future this could allow full configuring (e.g. being able
to set "anonymous identity", and perhaps some of the more obscure WPA
options), though perhaps that will better belong in bsdconfig when that
grows wlan config ability.

MFC after: 1 week


260261 04-Jan-2014 gavin

Lower the priority of the "connect to any open wireless network" network
description, so guaranteeing that any other defined network will be tried
first.

MFC after: 1 week


260260 04-Jan-2014 gavin

Remove what appears to be a stray debugging printf.

MFC after: 1 week


259686 21-Dec-2013 dteske

Move the installer's keymap solution introduced by SVN r259468. The new
location of /etc/rc.local on the install media is more appropriate as it
knows serial vs. non-serial and can also do the change earlier (so that
even the initial Install dialog can benefit from the change).

MFC after: 3 days


259598 19-Dec-2013 dteske

When using a bootpool, set the cachefile property so that it gets
imported automatically upon reboot to the newly installed system.

MFC after: 1 day


259597 19-Dec-2013 dteske

Fix a regression that occurred with SVN revisions 259474 and 259476 where
installation to 3-4+ (depending on vdev type) vdevs would result in odd
error messages where the zpool `create' command appeared to repeat itself
(an artifact of printf when you supply too many arguments -- caused by
neglecting to properly quote the multi-word expansion of $*vdevs when
creating the pool(s)). Example error below (taken from bsdinstall_log):

DEBUG: zfs_create_boot: Creating root pool...
DEBUG: zfs_create_boot: zpool create -o altroot=/mnt -m none -f "zroot" \
ada0p3.nop ada1p3.nopzpool create ada2p3.nop "ada3p3.nop"
DEBUG: zfs_create_boot: retval=1 <output below>
cannot open 'ada1p3.nopzpool': no such GEOM provider


259572 18-Dec-2013 dteske

In bsdinstall_log, it's rather confusing to see the following sequence:
DEBUG: Running installation step: hostname
rm: /tmp/bsdinstall_etc/fstab: No such file or directory

The two lines are unrelated, and the rm is spurious. Let's add `-f' to
that rm(1) so it doesn't confuse us when debugging an install.

MFC after: 3 days


259570 18-Dec-2013 dteske

Fix "[: -eq: argument expected" error introduced by SVN r256343. The code
should not have used DIALOG_CANCEL because dialog.subr wasn't included to
define it. The effect of the error was that you could not cancel the
partition dialog. Discovered by checking bsdinstall_log for something else.

MFC after: 3 days


259481 16-Dec-2013 dteske

Auto-enable 4k sector alignment when disk encryption is requested (it is
required in such a case). But don't prevent the user from pointing the
gun at his/her foot -- you can disable 4k alignment after enabling geli).

MFC after: 3 days


259480 16-Dec-2013 dteske

Fix a long-standing edge-case that would result in a ghosted `zroot' pool
and subsequent headaches caused by multiple pools with the same name.
Specifically, blast away any labels on the designated swap partition.
Problem was when you install to a given layout *with* swap and then turn
around and re-install the same layout *without* swap (we weren't doing a
labelclear for the swap device, so would end up with an "UNAVAIL" status
zroot pool that may only exist in the pool cache).

MFC after: 3 days


259479 16-Dec-2013 dteske

Add kern.geom.label.disk_ident.enable="0" to loader.conf(5).

Discussed on: -current, -stable
MFC after: 3 days


259478 16-Dec-2013 dteske

De-uglify the geli(8)-setup infobox by adding a newline.

MFC after: 3 days


259477 16-Dec-2013 dteske

fletcher4 is currently the default.

Discussed on: -current
MFC after: 3 days


259476 16-Dec-2013 dteske

Improve default ZFS disk layout (tested):
+ For GPT, always provision zfs# partition after swap [for resizability]
+ For MBR, always use a boot pool to relialy place root vdevs at EOD
NB: Fixes edge-cases where MBR combination failed boot (e.g. swap-less)
+ Generalize boot pool logic so it can be used for any scheme (namely MBR)
+ Update existing comments and some whitespace fixes
+ Change some variable names to make reading/debugging the code easier
in zfs_create_boot() (namely prepend zroot_ or bootpool_ to property)
+ Because zroot vdevs are at EOD, no longer need to calculate partsize
(vdev consumes remaining space after allocating swap)
+ Optimize processing of disks -- no reason to loop over the disks 3-4
separate times when we can logically use a single loop to do everything

Discussed on: -stable
MFC after: 3 days


259474 16-Dec-2013 dteske

Bug-fixes and debugging improvments:
+ De-obfuscate debugging to show actual values
+ Change graid(8) syntax; s/destroy/delete/ [destroy is not invalid syntax]
+ Log commands that were previously quiet
+ Added some new comemnts and updated some existing ones
+ Add missing local for `disk' used in zfs_create_boot()
+ Use $disks instead of multiply-expanding $* in zfs_create_boot()
+ Pedantically unset variable holding geli(8) passphrase after use
+ Pedantically add double-quotes around zpool names and zfs datasets
+ Fix quotation expansion for zpool_cache entries of loader.conf(5)
+ Some limited whitespace changes

MFC after: 3 days


259472 16-Dec-2013 dteske

Accept NULL input as also meaning zero swap.

MFC after: 3 days


259470 16-Dec-2013 dteske

As per discussions on -current, re-add /var/mail (removed in r257842) but
this time with atime=on in support of various software that requires it.

Discussed on: -current
MFC after: 3 days


259469 16-Dec-2013 dteske

Mask error from newaliases(1) when the hostname is not fully qualified.

MFC after: 3 days


259468 16-Dec-2013 dteske

Add a fix for Long-standing problem with VMware. Described in below links:
https://communities.vmware.com/thread/107230
https://communities.vmware.com/docs/DOC-11677

Basically, ignore the ``function 62'' and ``function 63'' interpretations
of the left/right command key when we're in the lengthiest portion of the
installation (initiated by the `auto' module).

The net effect is that you can now (once you've started the installer from
the media) escape the VM without prematurely terminating the current action
due to spurious escape sequence.

MFC after: 3 days


259276 12-Dec-2013 dteske

I caught the following snippet at the end of my /var/log/bsdinstall_log:
===
DEBUG: Running installation step: services
local: Not in a function
/usr/libexec/bsdinstall/services: cannot create : Read-only file system
/usr/libexec/bsdinstall/services: /tmp/bsdinstall/etc/rc.conf.services: \
Permission denied
===
The `local: Not in a function' is obvious, and was introduced by myself in
SVN revision 256348.

The latter two are caused by the attempt to use "\" to continue the line
after using the ">>" redirect. This appears to attempt to write a file with
the name " " in the current directory and subsequently attempts to execute
the file that was originally intended for writing (which is not executable;
hence the `Permission denied'). That was introduced in SVN r228192 about
2 years ago, apparently unnoticed until I started going over the debug
outputs very carefully.

MFC after: 3 days


259148 10-Dec-2013 dteske

Fix a regression introduced by SVN r257842; resulting in mountroot prompt
after attempting to install to encrypted ZFS root (caused by a typo in a
variable name -- ZFSBOOT_BOOT_FSNAME -> ZFSBOOT_BOOTFS_NAME).

MFC after: 3 days


259144 09-Dec-2013 dteske

Fix a regression introduced by SVN r257842. Result was that after
successfully installing to encrypted ZFS root, the passphrase is
not accepted and a message about "incorrect key" is displayed.

MFC after: 3 days


259143 09-Dec-2013 eadler

sed(1): Use /i instead of /I

the i modifier was added in r259132 since POSIX recently agreed to add
it. Switch uses of /I to /i.


259115 09-Dec-2013 dteske

Forgot to utilize feature added in SVN r257782 to prevent truncating
/tmp/bsdinstall_log each time we exec a module.

MFC after: 3 days


258927 04-Dec-2013 dteske

Fix a regression introduced by SVN r257842 that prevents Encryption from
being enabled.

MFC after: 3 days


258021 11-Nov-2013 dteske

Switch default MBR bootcode from /boot/boot0 to /boot/mbr.

Reviewed by: Allan Jude, nwhitehorn
Discussed on: -current


257939 11-Nov-2013 dteske

Check the partition scheme before blowing away disks, instead of after.
The effects of this patch would only be noticeable if you were purposefully
setting a bad value and trying to see what happens; and leaving the disks
intact if a bad value has been set seems fair.


257872 08-Nov-2013 joel

mdoc: add missing El.


257845 08-Nov-2013 dteske

I often forget that debugFile can begin with a + for deciding that debug
should be sent to both the file (minus the leading +) and stdout.


257844 08-Nov-2013 dteske

Copy the install log to the deployed /var/log directory so that we have
post-mortem data on how the machine was configured/installed.


257843 08-Nov-2013 dteske

Semi-revert this one file out of r257842. The ttys(5) stuff, as we
discussed on -current, was not supposed to go in but get solved in
a different way -- e.g., init(8) logic).

Discussed on: -current


257842 08-Nov-2013 dteske

A series of changes tested together as a whole:
+ Add a `-D FILE" command-line option for overriding the path to the
bsdinstall log file (BSDINSTALL_LOG env var).
+ Document new `-D FILE' in the man page for bsdinstall.
+ If FILE in `-D FILE' begins with a +, debug output goes to stdout
(interleaved between dialog(1) invocations/output) as well as to FILE
(minus the leading + of course).
+ If BSDINSTALL_LOG cannot be written, then debugging is disabled (except in
the case of a leading + in the pathname, wherein debug will still be
printed to stdout).
+ Update source code formatting style.
+ Fix a dangling participle ("Begun ..." -> "Began ...")
+ Rewrite the docsinstall script (was necessary to abate direct dependency
on BSDINSTALL_LOG (instead, use fault-tolerant bsdconfig framework which
displays appropriate errors for package management).
NB: docsinstall is still using pkg(8) after this change.
+ Add additional debug output for dhclient/rtsol/wpa_cliscan
+ Display script errors in a textbox rather than just on stdout
+ Update many coments.
+ Add new f_show_err() API call (like f_show_msg but changes the dialog
title to "Error")(see bsdconfig's `common.subr').
+ Add new f_eval_catch() API call for executing a command via eval but not
before logging the command to debug. Several example cases documented in
API header for function in bsdconfig's `common.subr'.
+ Fix dialog auto-sizing when launched as an rvalue to a pipe for indirected
scripts (previously would default to 24x80 sizing in this case, now it can
autosize to full size even when in a pipe chain).
+ Fix bug in f_snprintf if $format argument began with "-"; printf would
misinterpret as a flag. (this is in bsdcofig's `strings.subr').
+ Add accompanying f_sprintf() and f_vsprintf() to go along with already
existing f_snprintf() and f_vsnprintf() (see bsdconfig's `strings.subr').
+ Remove some unnecessary default ZFS datasets from the automatic "zfsboot"
script. Such as: /usr/ports/distfiles /usr/ports/packages /usr/obj /var/db
/var/empty /var/mail and /var/run (these can all be created as-needed once
the system is installed).
+ Remove setuid=off for /usr/home (as discussed from last round of CFT).
+ Fix some i18n string violations in "zfsboot".
+ Bolster debugging output in "zfsboot".
+ Fix some string quoting issues in "zfsboot".
+ Fix some variable scope issues in "zfsboot".
+ Change "Create" to "Install" in "zfsboot" main menu.
+ Increase error checking in "zfsboot" (type-check arguments and such).
+ Add call to "graid destroy" killing automatic metadata (part of the series
of pedantic destructions we do when bootstrapping a new/naked disk).
+ Make judicious use of new f_eval_catch() in "zfsboot".
+ Fixup some variable names for consistency (zfsboot).
+ Fix an underride syntax parameter expansion folly (zfsboot).
+ Confirm layout if not explicitly chosen when blindly proceeding (no
longer have to touch anything on the ZFS menu if it scares you, just
choose the omnibus "Install" option at the top and you'll be prompted to
select vdev type and disks in the layout confirmation dialog).
+ Change numbered menu items to alphabetic for more efficient navigation.
+ Consolidate vdev selection and disk selection into a single stateful
menu which performs validation and allows backing out to each previous
menu as you go deeper.
+ Redesign the ``Last Chance'' dialog (still using the same colors, but
make it conform to a tolerable width and make disks appear in a block-
quote style indented region).
+ Fix a bug wherein we used the a lowercase variable name by accident
(actual variable name declared as all-uppercase) at the time of
initializing fstab(5) (not believed to cause any issues though).
+ Update the geli setup infobox for each provider being initialized
(not just at the onset -- since each ``geli init'' causes kernel messages
to push our infobox off-screen).

Reviewed by: Allan Jude <freebsd@allanjude.com>
Discussed on: -current
MFC after: 3 days


257749 06-Nov-2013 gjb

Switch to using pkg(8) for the doc install in bsdinstall(8).
This also bootstraps the system with pkg(8) for future use.

PR: 183488
Submitted by: Joe Ennis
MFC after: 3 days
Sponsored by: The FreeBSD Foundation


256553 15-Oct-2013 dteske

Make ZFSBOOT_BEROOT_NAME be ROOT by default. This is what sysutils/beadm
and OpenSolaris/Illumos beadm use.

Remove /usr/local and /var/db/pkg datasets. Andriy Gapon writes:
I want to note that a good implementation of BEs should support a dependent
datasets feature. Unfortunately, it seems that we do not have any good BE
implementation for FreeBSD right now. If we had, personally I'd prefer to
have /usr/local in separate filesystem.

NOTE: Until then, remove these datasets.

Discussed on: src-committers
Submitted by: Bryan Drewery <bryan@shatow.net>
Reviewed by: Allan Jude <freebsd@allanjude.com>
MFC after: 3 days


256551 15-Oct-2013 dteske

Bump .Dd date (should have been part of SVN r256549)


256549 15-Oct-2013 dteske

Man page updates to go along with SVN r256343, introducing zfsboot.


256544 15-Oct-2013 dteske

Fix SVN r256540: s/TMPETC/TMPBOOT/ for loader.conf(5) GELI entries.


256541 15-Oct-2013 dteske

Document BSDINSTALL_TMPBOOT environment variable introduced by SVN r256343.


256540 15-Oct-2013 dteske

gjb writes: when doing encrypted zfs install, loader.conf should be updated
so bootpool is imported after boot:
zpool_cache_load="YES"
zpool_cache_type="/boot/zfs/zpool.cache"
zpool_cache_name="/boot/zfs/zpool.cache"
otherwise /boot is a broken symlink after the system is up.
http://lists.freebsd.org/pipermail/freebsd-fs/2013-July/017891.html
NOTE: Fix a comment while here.

Reviewed by: gjb


256489 15-Oct-2013 dteske

Add executable bit to docsinstall [old] and entropy [new] scripts.

Approved by: re (gjb)


256348 11-Oct-2013 dteske

Remove the dumpdev configuration dialog, merge it into the regular
services configuration and enable it by default. Committed with
slight change to menu text for length and content.

Submitted by: Allan Jude <freebsd@allanjude.com>
Approved by: re (glebius)


256347 11-Oct-2013 dteske

Incorporate PR bin/161547 to detect when an interface is wireless.
Patch from PR modified slightly for whitespace and style.

PR: bin/161547
Submitted by: Warren Block <wblock@wonkity.com>
Reviewed by: Allan Jude <freebsd@allanjude.com>
Approved by: re (glebius)


256345 11-Oct-2013 dteske

Rewrite the keymap module to display an actual menu of selectable
keymaps *and* provide a mechanism for testing the selection. With
this commit, bsdinstall is no longer dependent on kbdmap(1). The
keymap test menu was originally submitted by Warren Block but was
modified).

Submitted by: Warren Block <wblock@wonkity.com>
Reviewed by: Allan Jude <freebsd@allanjude.com>
Approved by: re (glebius)


256343 11-Oct-2013 dteske

Add zfsboot module as an option for automatic configuration. Default is
to run interactively but it can be scripted too (optinally completely
non-interactive). Currently supports GELI and all ZFS vdev types. Also
performs validation on selections/settings providing error messages if
necessary, explaining (in plain language) what the issue is. Currently
the auto partitioning of naked disks only supports GPT and MBR (VTOC8
pending for sparc64), so is only available for i386/amd64 install.

Submitted by: Allan Jude <freebsd@allanjude.com>, myself
Reviewed by: Allan Jude <freebsd@allanjude.com>
Approved by: re (glebius)


256338 11-Oct-2013 des

After installation, dump 4096 bytes from /dev/random to /entropy in the
newly installed system. This should greatly increase the amount of
entropy available when SSH host keys are generated during first boot.

Reviewed by: markm, nathanw
Approved by: re (gjb)


255925 28-Sep-2013 gavin

Remove ftp5.se.f.o, as per request to -hubs@

Approved by: re (glebius)
MFC after: 3 days


255908 27-Sep-2013 brd

- Remove the is (Iceland) mirror per mail from the admins.

Approved by: re
With hat: clusteradm@


255817 23-Sep-2013 nwhitehorn

Add installer support for CHRP/PAPR PowerPC systems that use MBR+BSD
formatting, like x86, but with an additional MBR slice containing a raw
boot partition.

Approved by: re (gjb)


254265 13-Aug-2013 gjb

Make sure bootonly.iso for -BETAs and -RCs use the releases/
directory on the FTP mirrors to fetch distributions, since
these are always pushed to releases/ during the release cycle.

MFC after: 3 days
X-MFC-To: stable/9, releng/9.2


253566 23-Jul-2013 gavin

Remove ftp2.tr.freebsd.org, it is out of date.

MFC after: 3 days


253543 22-Jul-2013 gavin

Update mirror list to more closely match
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

MFC after: 1 week


251854 17-Jun-2013 bapt

Fix bindings of keys when in the partition editor. By adding the usual input binding to the "partlist" sub window.
This is a workaround, as for unknown yet reason the keys binded on the Partition Edition window are the one from partlist instead of the one from standard "formfield"

Reported by: alfred, nwhitehorn


250511 11-May-2013 antoine

Add some missing DPADD.


248612 22-Mar-2013 mm

Replace deprecated (or remove obsolete) libarchive 2.8 functions
with libarchive 3.0 counterparts


246013 27-Jan-2013 nwhitehorn

If no resolv.conf has been made for the new system already and the install
media has one already, copy it in lieu of leaving things blank. This
reduces the foot-shooting potential for PXE installs that immediately
add packages.


245980 27-Jan-2013 nwhitehorn

Properly quote argument.

MFC after: 3 days


245796 22-Jan-2013 nwhitehorn

Improve error handling and remove an unnecessary check on geom provider
type. GEOM provider names can't duplicate (or shouldn't -- devfs will either
break or only use the first one if they do) so using the first provider
by that name is a sufficient check. This also lets the scripted partitioner
install onto gmirror and geli and such things.


245792 22-Jan-2013 nwhitehorn

Improve documentation of BSDINSTALL_DISTSITE and mdoc.


245760 22-Jan-2013 nwhitehorn

Clarify that the setup script is optional.


245759 22-Jan-2013 nwhitehorn

Update change date.


245758 22-Jan-2013 nwhitehorn

Document bsdinstall scripting as it currently operates. It may change in
the future depending on feedback from people using it to do unattended
system setup.


245707 21-Jan-2013 nwhitehorn

Remove some debugging code that snuck in.


245702 21-Jan-2013 nwhitehorn

Add a scripting frontend. Documentation and release(7) support coming later.

Scripts take the form:

------------------------------------
PARTITIONS=ada0
DISTRIBUTIONS="kernel.txz base.txz ports.txz"

#!/bin/sh
echo "sshd_enable=YES" >> /etc/rc.conf
pkg add puppet
echo "System setup complete"
------------------------------------

The second part of the script (beginning with #!) is run in the newly
installed system after the installation onto ada0 (with default partitioning,
see scriptedpart for more complicated scenarios) is complete.


245701 20-Jan-2013 nwhitehorn

If no partition configuration is specified in {}, use the automatic setup
the interactive installer uses.

Example: bsdinstall scriptedpart ada0
Result: Use entire disk for a FreeBSD system with default partition layout


245700 20-Jan-2013 nwhitehorn

Add a simple scripted partitioner. Documentation and more scripting support
will come soon. This lets the install process have a line like:

bsdinstall scriptedpart 'ada0 GPT {1.5G freebsd-ufs /, 10G freebsd-swap,
auto freebsd-ufs /usr}'

to set up a system with a 1.5GB /, some swap space, and a /usr using the
rest of ada0.

MFC after: 1 month


245680 20-Jan-2013 nwhitehorn

Make "Finish" the default choice in the partition editor. This lets you
successfully complete an installation with all defaults by pressing
Enter repeatedly until your machine reboots.

MFC after: 3 weeks


245333 12-Jan-2013 nwhitehorn

Note that cpufreq(4) is not available on all hardware.

PR: bin/175139
MFC after: 2 weeks


245323 12-Jan-2013 joel

Remove EOL whitespace.


244958 02-Jan-2013 nwhitehorn

Make sade actually be a symlink to partedit, as per the commit message in
r244859, rather than a hardlink. This fixes installation if /usr/sbin
is on a different filesystem than /usr/libexec.

Submitted by: se


244860 30-Dec-2012 nwhitehorn

Add a man page for the new sade(8), which is mostly the same uninformative
manpage as the old sade(8).


244859 30-Dec-2012 nwhitehorn

Replace sade the extracted piece of sysinstall with sade the extracted
piece of bsdinstall (although this time with a symlink instead of duplicated
source code).

Discussed on: freebsd-geom
MFC after: 3 months


244858 30-Dec-2012 nwhitehorn

If invoked as sade, don't complain about having a filesystem on / already
-- it's something you expect (and indeed hope for).

MFC after: 1 week


244059 09-Dec-2012 gjb

Add missed BETA* to list.

Approved by: simon (implicit)
MFC after: 3 days
X-MFC-With: r244058


244057 09-Dec-2012 gjb

Get 'uname -r' earlier, so it can be used to determine what branch is
being run to set BSDINSTALL_DISTSITE accordingly. This change allows
non-RELEASE branches to use the FTP snapshots directory for bootonly.iso
installations.

Approved by: simon


243854 04-Dec-2012 joel

Remove snapshots.jp.freebsd.org. It stopped working years ago.

Discussed with: hrs


243832 03-Dec-2012 joel

- Remove snapshots.se.freebsd.org [1]
- Add ftp6.se.freebsd.org

Discussed with: brd [1]


242188 27-Oct-2012 dteske

Fix bug introduced by r241902 (MANIFEST uses TAB delimiter).

PR: bin/173140
Approved by: adrian (co-mentor)


241902 22-Oct-2012 dteske

Optimize syntax to use builtins and reduce unnecessary forking where possible.

Reviewed by: nwhitehorn
Approved by: adrian (co-mentor)


239500 21-Aug-2012 dteske

Fix "unexpected operator" error when passed multi-word first-argument
containing whitespace. Also make other changes to support multi-word
arguments.

PR: bin/170759
Submitted by: dteske
Reviewed by: emaste (mentor)
Approved by: emaste (mentor)
MFC after: 3 days


237253 19-Jun-2012 eadler

Remove variables which are initialized but never used thereafter reported by gcc46 warning

Approved by: cperciva
MFC After: 3 days


235228 10-May-2012 roberto

Add the IPv6 tag to ftp4.fr.freebsd.org.


233904 04-Apr-2012 nwhitehorn

Fix typo.

Submitted by: pawel dot worach at gmail dot com
MFC after: 3 days


233648 29-Mar-2012 eadler

Remove trailing whitespace per mdoc lint warning

Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days


233473 25-Mar-2012 joel

mdoc: document title should be all caps.


232531 05-Mar-2012 nwhitehorn

Make the chroot shell more functional by providing devfs.

Reported by: Robert Simmons
MFC after: 4 days


232200 26-Feb-2012 nwhitehorn

Fix segfault if distfetch and distextract binaries are run standalone
without the DISTRIBUTIONS environment variable set.

PR: bin/165492
Submitted by: Fernando Apesteguia
MFC after: 4 days


230804 31-Jan-2012 kevlo

Fix a whitespace nit

Reviewed by: bz


230522 25-Jan-2012 nwhitehorn

Experimental support for booting CHRP-type PowerPC systems from hard disks.


230309 18-Jan-2012 nwhitehorn

Warn if trying to install over an existing partition, which usually fails
anyway due to libarchive not being able to overwrite schg flags.

PR: bin/164278
MFC after: 4 days


228194 02-Dec-2011 nwhitehorn

Prevent user astonishment by providing the shell option at the end, after
any installer-provided configuration files have been copied. This allows
users to edit their fstab, if desired, and to see what the installer has
placed in rc.conf.

Requested by: phk
MFC after: 1 day


228192 02-Dec-2011 kensmith

Add a screen that asks if the user would like to enable crash dumps,
giving them a very brief description of the trade-offs. Whether the
user opts in or out add an entry to what will become /etc/rc.conf
explaining what dumpdev is and how to turn on/off crash dumps. The folks
who handle interacting with users submitting PRs have asked for this.

Reviewed by: nwhitehorn
MFC after: 1 day


228048 28-Nov-2011 kevlo

Plug memory leaks and fix open(2) error check.

Reviewed by: nwhitehorn
MFC after: 3 days


226741 25-Oct-2011 nwhitehorn

Provide an error message and error handling if there are no network
interfaces in the system. This is a non-fatal error except when doing a
network installation.

PR: bin/161950
MFC after: 3 days


226739 25-Oct-2011 nwhitehorn

Provide an error message instead of silent failure if no disks are present
in the system.

PR: bin/161950
MFC after: 3 days


226666 23-Oct-2011 nwhitehorn

Avoid some "Invalid argument" errors in the installer.

PR: bin/161926
MFC after: 5 days


226507 18-Oct-2011 kensmith

Escape the newline so we get a proper line continuation. Without this
the text of the menu selections doesn't get displayed properly and it
makes the installer appear to lock up for no obvious reason.

Reviewed by: nwhitehorn


226161 08-Oct-2011 nwhitehorn

Avoid magicking into existence sub-partitions due to leftover blocks when
creating new ones by destroying any geom that may have come into
existence immediately after adding a partition. The EBR partition scheme
is particularly enthusiastic about false positives in this case.

MFC after: 3 days


226160 08-Oct-2011 nwhitehorn

Usability enhancements: do not allow setting a mountpoint on bsdlabel
container partitions, which didn't do anything anyway, and check for
an existing freebsd-boot partition before bothering the user to make one.

PR: bin/160931
MFC after: 3 days


226083 07-Oct-2011 nwhitehorn

Work around some behavior of gpart that I absolutely do not understand in
order to make every operation of the partition editor fully revertable.
Under *no circumstances* will it any longer touch the disks until the user
presses Finish and confirms it.

MFC after: 3 days


226059 06-Oct-2011 nwhitehorn

Move "Exit" to the first entry in the list, so that it is the default
choice.

PR: bin/160913
MFC after: 3 days


226058 06-Oct-2011 nwhitehorn

Ask if you want to set the keymap before invoking kdbmap to prevent
confusion.

PR: bin/160913
MFC after: 3 days


225637 17-Sep-2011 nwhitehorn

Inquire about terminal type if starting from a serial console and do
not configure the host's networking if netbooted [1]. Also fix FTP
installations behind some firewalls [2].

PR: bin/159583 [2]
Reported by: stas [1]
Approved by: re (kib)


225613 16-Sep-2011 nwhitehorn

Fix a typo introduced in r219892 that prevented file system options from
being set correctly.

Approved by: re (kib)


225612 16-Sep-2011 nwhitehorn

Fix WPA setup broken by changes to shell argument passing inside the
installer network configuration.

PR: bin/159558
Approved by: re (kib)


225539 13-Sep-2011 brueffer

Allow WPA PSKs up to 63 characters, the max length according to
wpa_supplicant.conf(5). Up to now, the PSK was truncated
to 15 characters (the length of the input field).

PR: 159559
Submitted by: Gavin Chappell <gavin.chappell@gmail.com>
Approved by: re (kib)


225467 10-Sep-2011 brueffer

Add ftp4.se.freebsd.org to the IPv4 and IPv6 mirror lists.

PR: 157210, 157211
Submitted by: Niclas Zeising <zeising@lysator.liu.se>
Approved by: re (kib)


225430 07-Sep-2011 bz

Correct a typo.

Submitted by: gcooper
Reviewed by: nwhitehorn
Approved by: re (kib)


225429 07-Sep-2011 bz

Fix two problems:
1) if no default gateway is given the route command will fail
and the script will abort with an error leading to an endless
loop unless configuration is cancelled or changed. [1]
2) In the IPv6 case add -inet6 to not alter the legacy IP default
route.

Reported by: Oleg Ginzburg (olevole olevole.ru) [1]
Tested by: Oleg Ginzburg (olevole olevole.ru) [1]
Approved by: re (kib)


225270 30-Aug-2011 nwhitehorn

Swap FTP paths to be MACHINE/MACHINE_ARCH instead of MACHINE_ARCH/MACHINE.
This follows what the output of make targets looks like, and reduces the
number of directories needed on the FTP server, since we now have only one
architecture with multiple machine types (i386, which has i386 and pc98),
but 3 machines with 9 architectures between them (powerpc, mips, and arm).

Requested by: kensmith, bz
Approved by: re(kensmith)


225066 21-Aug-2011 nwhitehorn

Implement support for GRAID volumes in the installer partition editor,
rename a few options, clarify some help text, and add help text for the
buttons on the main partition editor screen.

Approved by: re (kib)


225065 21-Aug-2011 nwhitehorn

Make messages about typos appear on the screen instead of in the log file.

Reported by: lev
Approved by: re (kib)


224972 18-Aug-2011 nwhitehorn

Fix a bug that prevented docsinstall from being able to use DNS in most
cases and provide a better error handling mechanism during package
installation.

Approved by: re (kib)


224656 05-Aug-2011 roberto

Add back ftp4, a new machine has taken its place. ftp2 and ftp8 are both IPv6 capable
mirrors. cvsup4/ftp4 have already been added to the handbook.

Reviewed by: nathanw
Approved by: re (kib)


224470 28-Jul-2011 bz

To inet or not two inet. Unbreak static IPv4 configuration. If you tried
you were stuck in an endless loop.

Reported by: kensmith
Approved by: re (kib) for BETA1
Pointy hat to: bz - wonder why I had not tested legacy IP thoroughly..


224108 16-Jul-2011 nwhitehorn

Add PS3 partitioning (and framework for future pseries support) to the
installer.


223980 13-Jul-2011 nwhitehorn

Run newaliases at the end of the install process.

Submitted by: kevlo


223897 09-Jul-2011 nwhitehorn

Per request of the docs team, install docs as packages, instead of via
the normal distfile mechanism. Thanks to Marc Fonvieille for the patch and
for putting up with me taking entirely too long to commit this!

Submitted by: blackend


223832 07-Jul-2011 kevlo

Add an extra tab between fs_file and fs_vfstype

Reviewed by: nwhitehorn


223012 12-Jun-2011 nwhitehorn

I forgot what year it is, apparently.

Submitted by: brucec


222998 11-Jun-2011 nwhitehorn

Long-overdue man page for bsdinstall.


222747 06-Jun-2011 bz

Remove TODO which is not longer needed and the default.


222681 04-Jun-2011 bz

Fix resolv.conf search list creation:
1) do not print out an empty "search ", things do not like it.
2) the search list is not comma separated.

Sponsored by: The FreeBSD Foundation
Sponsored by: iXsystems


222619 02-Jun-2011 bz

Write the multi step netconfig to a temporary file and only move that
to the final name if netconfig was completely finished. This fixes
reentrance problems even better than r222611.

Suggested by: nwhitehorn
Reviewed by: nwhitehorn
Sponsored by: The FreeBSD Foundation
Sponsored by: iXsystems


222611 02-Jun-2011 bz

Empty the network configuration only after the user decided to pick an
interface. Otherwise an accidental start of the netowrk configuration
and immediate cancel after the install has finished removes the previously
configured settings.

Discussed with: nwhitehorn
Sponsored by: The FreeBSD Foundation
Sponsored by: iXsystems


222607 02-Jun-2011 nwhitehorn

Fix opening a shell on the new system (prevent the shell's stderr from
ending up in the install log).


222502 30-May-2011 bz

Contrary to the rc.conf framework, when manualy enabling IPv6 we have
to -ifdiabled ourselves.

Sponsored by: The FreeBSD Foundation
Sponsored by: iXsystems


222482 30-May-2011 bz

While doing it right for current configuration, fix the entry for rc.conf
adding the missing mandatory "inet6" keyword.

Sponsored by: The FreeBSD Foundation
Sponsored by: iXsystems


222468 29-May-2011 bz

Split netconfig into three parts:
- netconfig - what auto will call which in turn will check for
IPv4 and IPv6 to be available and ask the user to configure it
by calling
- netconfig_ipv4 doing DHCP and static IPv4 addresses, and
- netconfig_ipv6 doing rtsol and static IPv6 addresses,
and then checking, querying and updating resolv.conf upon return.
Both DHCP and rtsol (in the future) might update resolv.conf already so
we seed ourselves from that file if available.

Reviewed by: nwhitehorn
Sponsored by: The FreeBSD Foundation
Sponsored by: iXsystems


222425 28-May-2011 nwhitehorn

Fix shell-based partitioning.


221869 14-May-2011 attilio

Disconnect sun4v architecture from the three.

Some files keep the SUN4V tags as a code reference, for the future,
if any rewamped sun4v support wants to be added again.

Reviewed by: marius
Tested by: sbruno
Approved by: re


220834 19-Apr-2011 nwhitehorn

Fix mirror selection, which was broken by stderr redirection.

Reported by: Garrett Cooper


220753 17-Apr-2011 nwhitehorn

Update to reflect net install changes.


220541 11-Apr-2011 nwhitehorn

Make the keymap script continue to work now that stderr is being
redirected to the log file.


220499 09-Apr-2011 nwhitehorn

Rename the "Reboot" option to "Exit", which reflects what it actually
does. The rc.local wrapper script will also soon grow an option to use the
live environment after installation, so an immediate reboot isn't even
necessarily implied.


220351 05-Apr-2011 nwhitehorn

Check correctly for whether there are any available wireless networks. This
was tested on a train in the middle of an upstate New York swamp.


220350 05-Apr-2011 nwhitehorn

Improve logging by always sending stderr to the installation log file.
Reduce warnings by making sure the temporary etc directory exists.


220089 28-Mar-2011 nwhitehorn

Committing while tired is never a good idea. Remove an unconditional error
exit left over from debugging.


220088 28-Mar-2011 nwhitehorn

Improve error handling.


220080 27-Mar-2011 nwhitehorn

Add mirror selection for FTP installs. To support TBEMD installs
(e.g. powerpc64), this looks in a slightly different default path than now,
specifying both $MACHINE and $MACHINE_ARCH:
MIRROR/pub/FreeBSD/releases/`uname -p`/`uname -m`/`uname -r`

How to handle TBEMD properly probably merits some more discussion, but,
since no such 9.0-CURRENT distfiles exist at the moment, all existing
mirrors presently fail anyway.


219903 23-Mar-2011 nwhitehorn

Mark any distfiles with no checksum entries in the manifest "Skipped"
instead of "Passed".


219892 23-Mar-2011 nwhitehorn

Allow setting of parameters for file systems (e.g. softupdates), turn on
SUJ by default, and allow creation and mounting of FAT filesystems from
the installer.


219667 15-Mar-2011 nwhitehorn

Turn on softupdates by default. We need a UI to set filesystem parameters.


219618 13-Mar-2011 nwhitehorn

Rewind manifest file in case distributions are in a different order there.


219617 13-Mar-2011 nwhitehorn

Use the manifest file count, if available, to determine the number of files
in the archive instead of spinning through it to get a file count for the
progress bar. This speeds up installation a lot on systems with slow
CD drives.


219615 13-Mar-2011 nwhitehorn

Add generation of an installation manifest containing SHA256 checksums as
well as package descriptions and add code in the installer to check the
checksums.


219528 11-Mar-2011 nwhitehorn

Correct typo.


219391 08-Mar-2011 nwhitehorn

Only validate the partition setup when the user presses "Save". If the user
wants to exit without saving, it's not a problem if the disk is set up
in an invalid way.


219179 02-Mar-2011 nwhitehorn

Make installations work when no optional components are selected.


219058 26-Feb-2011 nwhitehorn

Show disk model numbers in partition wizard screen. Also, since da(4) disks
are probably more likely to be USB or Firewire these days than SCSI, just
call them and anyone unknown "Disk" instead of SCSI disk.


218973 23-Feb-2011 nwhitehorn

Add a catch-all for miscellaneous RAID volumes while seeking a better
solution here. It would really help if CAM devices were part of newbus.


218947 22-Feb-2011 nwhitehorn

Add support for optional distributions, installation of the ports tree and
src. Fitting all of this on a single CD along with a full system requires
changing the default compression algorithm from gzip to xz.


218915 21-Feb-2011 nwhitehorn

Add some error checking on the return values of chdir() and calloc(). The
first might actually happen, so it displays the error message in a prettier
way.

Found by: Coverity Prevent(tm)
CID: 9121, 9122, 9123, 9124


218855 19-Feb-2011 nwhitehorn

Don't present the user with spurious errors when overwriting a disk with
a deleted, but uncommitted, gpart.

Reported by: brucec


218853 19-Feb-2011 nwhitehorn

The PC98 gpart module supports labels now.


218799 18-Feb-2011 nwhitehorn

Import bsdinstall. This is meant to be (eventually in conjunction with
pc-sysinstall) a replacement for sysinstall in the 9.0 release and beyond.
Currently supported platforms are sparc64, pc98, i386, amd64, powerpc, and
powerpc64. Integration into the build system will occur in the coming
weeks.

Merging with pc-sysinstall will use this code as a frontend, while
temporarily retaining the interactive partition editor here. This work
will be done in parallel with improvements on this code and release
integration.

Thanks to all who have provided testing and comments!