fc3fa7cd7f
* Add mount_with_unwind() that adds mountpoint to a LIFO queue of mountpoints to undo on error. Use in target_mount(). * Add unwind_mounts() which traverses the LIFO queue and unmounts filesystems, silently ignoring errors. * create toplevel() function which displays banner message and calls unwind_mounts(). * change toplevel menu to call toplevel() instead of inline banner. Where to do unwinds needs more thought. Perhaps we should only unwind if an upgrade or install appears unsuccessful, so after a successful install, the target is mounted (e.g., for upgrading /etc/rc.conf). |
||
---|---|---|
.. | ||
alpha | ||
amiga | ||
arm32 | ||
atari/miniroot | ||
hp300 | ||
i386/floppies | ||
mac68k/miniroot | ||
miniroot | ||
notes | ||
pc532/floppies | ||
pmax/miniroot | ||
sets | ||
sparc | ||
sun3 | ||
utils | ||
vax | ||
x68k/floppies |