summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorjonathan <jonathan@NetBSD.org>1997-12-04 09:05:35 +0000
committerjonathan <jonathan@NetBSD.org>1997-12-04 09:05:35 +0000
commitfc3fa7cd7f9ada81468dac9ffeef6876b1d659fd (patch)
tree2154eca635c07e317940c0d4344258148f6f8dd6 /sys/dev/microcode
parent06c1873d83c358a3842bb28d80295ec8025857bb (diff)
Implement TODO item to unwind target mounts on completion:
* 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).
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions