> Given a working fileserver config, I want something that does
> 'user=foo; nobootpromt=bar', but with a (say) five second timeout.
> This is different from the current scheme that provides an escape,
> but which requires manual intervention. What I'm looking for is a
> timed-out option from the 'nobootprompt=' config, that lets me
> override, but only if I'm right there.
> It's the same as how (e.g. FreeBSD) lets you interrupt the boot
> process and muck about. But if you don't, it times out and boots
> the 'default' configuration.
err... thats precisely how it works. the ONLY difference is that the
timeout is hardcoded to ONE second see: /sys/src/boot/pc/sub.c:304
so your plan9.ini is the default config. and you hit any key during
that timeout window, you get to the bootloader console where you can
edit the plan9.ini variables (in ram). you can remove variables with
the clear command, so you can get rid of nobootprompt. its all
documented in 9boot(8).
--
cinap
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.