summaryrefslogtreecommitdiff
path: root/distrib
AgeCommit message (Collapse)Author
2016-01-27Check block 0 signature, physical block size and physical block count whenKenneth R Westerback
reading partition map. Check for unmapped physical blocks and overlapping partitions when reading partition map. No need for duplicate checks in validate_map(), so remove validate.c from build and 'v' command from code and docs.
2016-01-26spacingRobert Peichaer
OK krw@
2016-01-25localize _clistRobert Peichaer
feedback and OK halex@ OK krw@
2016-01-25Use new read/write_block0 and read/write_dpme which handle anyKenneth R Westerback
endian or alignment issues forcefully. Removes need for convert_* functions so unhook convert.c from build. read/write_block become static functions inside file_media.c. Tweak struct block0 to stop trying to handle alignment issues by clever declaration. Rely on the new functions to accurately translate between on-disk and in-memory layouts. Enables pdisk to work on amd64 and likely other architectures if it's ever desirable. Does bring back DEV_BSIZE to pdisk.c since the in-memory structure will *not* be 512 bytes on other archs.
2016-01-24spacingRobert Peichaer
ok krw@, halex@
2016-01-24- cleanup quoting in sed patternRobert Peichaer
- use shell built-in read command instead of 'sed q' OK krw@, halex@
2016-01-21syncTheo de Raadt
2016-01-20syncTheo de Raadt
2016-01-20syncTheo de Raadt
2016-01-18sync to mainTheo de Raadt
2016-01-17Discard stderr of fdisk and pdisk.Robert Peichaer
disussed with and OK krw@
2016-01-17syncTheo de Raadt
2016-01-16No need to abstract malloc(), so replace new_file_media() withKenneth R Westerback
malloc(). Removes last use of last used function in media.c, so unhook that from the Makefile and remove forward declarations from media.h. No functional change.
2016-01-16Nuke support for 1024- and 2048-byte sector devices. Error out ifKenneth R Westerback
anything other than 512-byte sectors are encountered. Unlink deblock_media.c from the build. ok jasper@
2016-01-15Replace bitfield_get() and bitfield_set() abstraction with simple maskingKenneth R Westerback
operations since all the uses but 1 are for 1 bit fields. No functional change intended. Unhook bitfield.c from build.
2016-01-15syncTheo de Raadt
2016-01-14Nuke 'HFS_name' field which was not referenced now other than settingKenneth R Westerback
it and freeing it. Unhook hfs_misc.c from build since it now longer contains anything being used.
2016-01-12Use normal err/errx/warn/warnx rather than handrolling new ones. MoveKenneth R Westerback
usage() to pdisk.c and nuke do_help() and '-h'. ok jasper@ deraadt@
2016-01-12get caught up with files krw removedTheo de Raadt
2016-01-12syncTheo de Raadt
2016-01-12The data for CGI_{METHOD,TIME,TZ} comes from an external source.Robert Peichaer
Validate before assignment. with feedback from and OK halex@ OK krw@
2016-01-10replace test command with [[ ]]Robert Peichaer
OK krw@
2016-01-10simplify patternRobert Peichaer
feedback halex@ OK krw@
2016-01-09Revamp the display of GPT information, hiding less importantKenneth R Westerback
information under the '-v' flag. This brings the GPT display more into line with the MBR display and simplifies and hardens the parsing of the partition info in the install scripts. Original problem with install scripts parsing hand edited GPT information reported by Valere Monseur via bugs@. Man page fixes and tweaks from jmc@. Install script changes tested & ok rpe@.
2016-01-08syncTheo de Raadt
2016-01-08syncTheo de Raadt
2016-01-07syncTheo de Raadt
2016-01-07syncTheo de Raadt
2016-01-06syncTheo de Raadt
2016-01-06syncTheo de Raadt
2016-01-05syncTheo de Raadt
2016-01-03syncTheo de Raadt
2016-01-01Tweak the installation notes regarding references to FTP.Robert Peichaer
'Sure' deraadt@
2016-01-01- enable activation of MP kernel for IP27Robert Peichaer
- use IPARCH instead of sysctl again - use for-loop to copy kernels feedback, tested and OK visa@ no objections krw@
2015-12-30Change the number of binary distribution sets in NOTES to eight.Robert Peichaer
The etc and xetc sets are now inside baseXX.tgz and xbaseXX.tgz. 'looks good' deraadt@
2015-12-29Change patterns in case-blocks from a*|A* to [aA]*Robert Peichaer
OK halex@ krw@
2015-12-28- no need to insist on EFISYS partitions on non-root disks.Robert Peichaer
- prevent autoinstall loop OK krw@
2015-12-27Remove stray '}'.Robert Peichaer
2015-12-27Refactor and move disk initialization code from install.sh to a separateRobert Peichaer
function configure_disk() in install.sub. based on work from and OK halex@
2015-12-27welcome GENERIC.IP27 MP (dual cpu on O350 now)Theo de Raadt
ok visa
2015-12-23syncTheo de Raadt
2015-12-23Move the code, that lists uninitialized disk into a separate function.Robert Peichaer
This makes the disk initialization question code easier to understand. OK krw@
2015-12-23- quote user supplied hostnameRobert Peichaer
- in this context ((NIFS)) does the same as ((NIFS != 0)) - use if-block for root ssh key question - spacing OK krw@
2015-12-23- spacingRobert Peichaer
- use brace expansion in for-loop OK krw@
2015-12-23Change comment style for headings so they get removed by list2sh.awk andRobert Peichaer
don't end up in bsd.rd. OK krw@
2015-12-23Simplify things by using grep -q.Robert Peichaer
OK krw@, halex@, jsg@
2015-12-23Ensure the installer asks for the dns domain and nameserver in case anRobert Peichaer
interface has been configured via dhcp and then again manually. tested and OK krw@ makes sense halex@
2015-12-23Ensure the installer asks for IPv4 default route in case an interface hasRobert Peichaer
been configured via dhcp and then again manually. While there, remove 'dhcp' as valid answer for the default route qeustion. It was a no-op and was handled the same way as 'none'. tested and OK krw@ makes sense halex@
2015-12-22syncTheo de Raadt
2015-12-20syncTheo de Raadt