9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9 boots 9
@ 2003-09-25 19:21 ron minnich
  2003-09-25 20:53 ` Russ Cox
  2003-09-25 23:09 ` David Presotto
  0 siblings, 2 replies; 8+ messages in thread
From: ron minnich @ 2003-09-25 19:21 UTC (permalink / raw)
  To: 9fans


I mentioned that it would be nice to have /dev/rebootfile to load a file,
then do kfscmd halt, so we would have a really clean shutdown/reboot
scenario.

It was pointed out that adding another file to #s is hardly a good idea.

So, could we add another command to /dev/reboot?

Currently we have two commands for /dev/reboot
reboot
and
reboot filename

could we add

rebootfile filename

e.g. you could then do this:

echo 'rebootfile /386/test' > /dev/reboot
disk/kfscmd sync
disk/kfscmd halt
echo reboot > /dev/reboot

Is this acceptable?

ron






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-09-26  2:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-25 19:21 [9fans] 9 boots 9 ron minnich
2003-09-25 20:53 ` Russ Cox
2003-09-25 23:09 ` David Presotto
2003-09-25 23:56   ` boyd, rounin
2003-09-26  0:01     ` Charles Forsyth
2003-09-26  2:07       ` Lyndon Nerenberg
2003-09-26  2:11         ` boyd, rounin
2003-09-26  2:17           ` Lyndon Nerenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).