This is a heavily streamlined version of gptboot that instead of looking for a UFS filesystem instead looks for an ISO image residing on the same device it got booted from.
Details
- Reviewers
imp mav bcr - Group Reviewers
manpages - Commits
- rS332084: Add isoboot(8) for booting BIOS systems from HDDs containing ISO images.
Constructed a PMBR/GPT image with this in a freebsd-boot partition and stuck that in front of an ISO image and booted it.
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Fix copyright on cd9660read.c.
When I first wrote this code it was inside a version of boot2.c, then got transplanted to a version of gptboot.c and then split out into cd9660read.c and so it ended up with gptboot.c's copyright when it should've had cd9660.c's.
I'm a little confused. I think I detect vestiges of time when this used boot2, which it no longer does. What's the current design?
stand/i386/isoboot/Makefile | ||
---|---|---|
23 ↗ | (On Diff #40946) | shouldn't this be isoboot? Is it even used? |
68 ↗ | (On Diff #40946) | I thought it was fine with them finally. |
stand/i386/isoboot/isoboot.c | ||
82 ↗ | (On Diff #40946) | Are these still in use? I thought we killed them in the 4.x time frame. |
212 ↗ | (On Diff #40946) | This is silly. |
stand/i386/isoboot/Makefile | ||
---|---|---|
23 ↗ | (On Diff #40946) | Yes, it's used. I've updated it. |
68 ↗ | (On Diff #40946) | Seems to build with this gone. |
stand/i386/isoboot/isoboot.c | ||
82 ↗ | (On Diff #40946) | They're still present in gptboot. I've left them for now. |
212 ↗ | (On Diff #40946) | Maybe but we get a missing prototype error if it's not there. I've moved up with the other prototypes. |
stand/i386/isoboot/Makefile | ||
---|---|---|
43 ↗ | (On Diff #40950) | Is there a size limit for isoboot? If so, we should enforce it here... |
stand/i386/isoboot/isoboot.c | ||
61 ↗ | (On Diff #40950) | Won't block this review, but we need to kill the umpteen million copies of this. |
123 ↗ | (On Diff #40950) | Seems like this should be common in libi386... |
316 ↗ | (On Diff #40950) | Do you need this? This isn't boot2 as well, so at least you should update the comment :) |
424 ↗ | (On Diff #40950) | Seems like this should be common too, but that may be beyond the scope here... |
stand/i386/isoboot/isoboot.c | ||
---|---|---|
2 ↗ | (On Diff #41101) | No, not enough changes to warrant it. |