File Server Mode in OS X
File Server Mode in OS X
- Subject: File Server Mode in OS X
- From: Charles Bennett <email@hidden>
- Date: Tue, 30 Oct 2001 21:47:13 -0500
I'm looking for the equivilant to the old "cuda" call to put the system
in what apple called File Server Mode.
No, I don't mean the Preferences "Energy Saver" restart after a power failure
You see, it "should" be titled "restart after an UNEXPECTED power failure".
What the old cuda call would do is to power up the system "ANY" time AC was
applied. That way it would come on, no matter how the system went down.
Check out TN1079
http://developer.apple.com/technotes/tn/tn1079.html to see what I mean.
Think of it this way. My systems are all on UPS's and I have the software
to ALWAYS power them down at the right time. There is almost no possibility
of an "unexpected" loss of AC, as the systems (had better ;-) ) power down safely
when the UPS reaches the correct level or time. At that point the computer has
shutdown and the UPS goes into "sleep" mode waiting fot the AC to return.
That's what "servers" do.
In any case, I do expect to AC to come back on in the future, and I'd like
the system to come back on then too. Otherwise it's not a "server" it's a workstation
that need's a human to get it running again.
It's obvious that Apple thought of this at some point, since TN1079 deals with
this very problem, but I can't find a single piece of OS X documentation that does the
same.
Is there some other way to get this functionality? I have google'd all the "Fine Manuals"
I can find to no avail.
Does anyone think that opening a DTS incident would get any further that "It doesn't do that"?
I don't mind filing a "suggestion" but this seems so obvious, that I feel that I must
have overlooked something..
Thanks.
chuck
BTW: After my last question about NSTimers and Douglas Davidson response about them
not being called if you are not in the run loop... I tooks some of his suggestions
and made my own version of NSTimer that works no matter what else is going on.
(it's a timer wrapped in a thread in it's own run loop...)
If anyone besides me is interested, let me know and I'll put the source up somewhere.
chuck