summaryrefslogtreecommitdiffstats
path: root/usr.sbin/installboot
AgeCommit message (Expand)AuthorFilesLines
2020-07-22force long-names on msdos filenames, so that folk can see pretty namesderaadt4-5/+9
2020-07-19Should use ufs_args here after all.visa1-4/+4
2020-07-18use correct structure for mounting, duhderaadt3-6/+6
2020-07-18Create grub.cfg file as requiredderaadt1-15/+50
2020-07-17Add powerpc64 support; straight copy from octeon.kettenis2-1/+247
2020-06-27convert macppc, octeon, and loongson to use MI installboot, removingderaadt8-12/+760
2020-06-08Provide clear errors when trying to install oversized boot loaderkn4-4/+25
2020-03-09Recommit, now that we found out how to fix the BIOS related issues: gootto2-19/+101
2020-03-07Revert previous, there are BIOS that do not like these changes.otto2-101/+19
2020-02-28Adapt biosboot(8) so it can read boot(8) from an ffs2 filesystem.otto2-19/+101
2019-10-29don't print a blank line if no stage1 or stage2 aspectsderaadt1-6/+8
2019-09-02Fix copyright lines, the "one-inode file system" in i386_softraid.c is myotto3-5/+4
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.deraadt1-3/+3
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt8-24/+24
2018-12-13Revert last. Breaks landisk snap building for currently unknownkrw1-10/+27
2018-11-25Don't allow the bootstrap to overlap the start of the OpenBSD area ofkrw1-27/+10
2018-11-07avoid freeing r twice in error case; OK otto@miko1-2/+2
2018-09-01Remove 'overlap_allowance' parameter from bootstrap().krw4-9/+9
2018-07-03installboot: adapt fileprefix() to future realpath(3) behaviorjcs1-9/+25
2017-10-27Use <elf.h> instead of <elf_abi.h>mpi2-4/+4
2017-06-04Malloc the superblock buffer to make sure that it is properly aligned.naddy1-4/+6
2017-05-07Add arm64 support.kettenis2-3/+20
2016-08-14Merge identical amd64 and i386 stanzas.krw1-7/+2
2016-07-20Use more compact idiom to select architecture dependent files to compile. Nokrw1-55/+7
2016-06-02Rename findmbrlinux() to findmbrfat(). This function was originallyjsg1-4/+4
2016-05-31Add support for armv7. Fix an error message in the i386 support beforekettenis3-4/+270
2016-05-23Use PATH_MAX instead of a hardcoded minimal value. Stack space is cheap andkettenis1-2/+2
2016-05-11remove hppa64 port, which we never got going beyond broken single users.deraadt2-43/+1
2016-04-28Plug a couple of leaks of input buffers.krw2-2/+5
2016-03-09We are done providing support for the vax.deraadt2-62/+1
2016-02-18sync() requires unistd.htobiasu1-1/+2
2016-01-15sync() needs unistd.htobiasu1-1/+2
2015-12-28Replace lseek/[read|write] with pread|pwrite.krw3-34/+23
2015-12-24Make gpt_chk_mbr() instances even more identicaller by alwayskrw1-2/+2
2015-12-24Make all instances of gpt_chk_mbr() identical (bar static vskrw1-6/+4
2015-12-24Add prototype for gpt_chk_mbr() to i386_installboot.c. Add 'static' tokrw1-2/+3
2015-12-20Remove unnecessary options:rpe1-3/+3
2015-12-10Remove NULL-checks before free(). ok tb@mmcc1-3/+2
2015-12-01Steal code from kern/subr_disk.c to check for a protective MBR beforekrw1-1/+52
2015-12-01aviion went awayderaadt1-5/+1
2015-12-01Don't need <sys/types.h> and <sys/param.h>. Nuke the former when DEV_BSIZEkrw2-4/+2
2015-11-30Revert the sync -> fsync conversion (at least for the time being) - therejsing4-9/+14
2015-11-29give up on pledge for now.deraadt1-4/+1
2015-11-26Apply pledge.deraadt5-15/+13
2015-11-04fix a memory leak in multiple error pathsjsg1-6/+8
2015-11-03fix a memory leak in an error pathjsg1-2/+4
2015-10-28Backout the backout of installboot softraid non-gpt case fix.stsp1-1/+7
2015-10-28Revert GPT change. Breaks non-GPT install/upgrade.krw1-7/+1
2015-10-28In sr_install_bootblk for i386, don't clobber 'part' in non-GPT case.stsp1-5/+5
2015-10-25Fix installboot(8) on i386/amd64 when softraid is on top of GPT.stsp3-5/+11