Power-Button on PowerBook G4 FW800

I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.
Florian Zschocke wrote on :

Hi NG, i have wall-mounted a headless powerbook to become my home server. I have added a new power button on the outside. Is there a possibility to change the switch-off behavior in osx? I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.

Thank you for your time and help.

Florian

Lewis replied on :

In message 4E9B76ED-7EE4-4418-BA5D-6E9B2C9443B9%edv@redacted.invalid Florian edv@redacted.invalid wrote:

Hi NG, i have wall-mounted a headless powerbook to become my home server. I have added a new power button on the outside. Is there a possibility to change the switch-off behavior in osx? I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.

First, Bad idea.

Second, press and hold the power button for 6 seconds.

Jolly Roger replied on :

In article slrng290fi.1214.g.kreme@redacted.invalid, Lewis g.kreme@redacted.invalid wrote:

In message 4E9B76ED-7EE4-4418-BA5D-6E9B2C9443B9%edv@redacted.invalid Florian edv@redacted.invalid wrote:

Hi NG, i have wall-mounted a headless powerbook to become my home server. I have added a new power button on the outside. Is there a possibility to change the switch-off behavior in osx? I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.

First, Bad idea.

You think doing a graceful shut down without the confirmation dialog is a bad idea?

Second, press and hold the power button for 6 seconds.

...but you think cutting power to the system while it's running is a good idea? Pressing the power button for 6 seconds will effectively cut power to the system while it is running. That's considerably different than shutdown -h now. Cutting power to the system while it is running can cause directory corruption and data loss. Shutting down with the power button does a graceful shutdown.

If I were you, I'd refrain from giving advice that puts other people's data at risk!

fudo replied on :

In article 4E9B76ED-7EE4-4418-BA5D-6E9B2C9443B9%edv@redacted.invalid, Florian Zschocke edv@redacted.invalid wrote:

Hi NG, i have wall-mounted a headless powerbook to become my home server. I have added a new power button on the outside. Is there a possibility to change the switch-off behavior in osx? I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.

Thank you for your time and help.

Florian

Why don't you want to use the Finder shutdown command?

Jolly Roger replied on :

In article fudo-161EDC.10425009052008@redacted.invalid, fudo fudo@redacted.invalid wrote:

In article 4E9B76ED-7EE4-4418-BA5D-6E9B2C9443B9%edv@redacted.invalid, Florian Zschocke edv@redacted.invalid wrote:

i have wall-mounted a headless powerbook to become my home server. I have added a new power button on the outside. Is there a possibility to change the switch-off behavior in osx? I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.

Why don't you want to use the Finder shutdown command?

I'm not the OP, but I can certainly imagine situations where it is more convenient to press the physical power button than connect to the machine remotely or access the Finder by some other means.

Florian Zschocke replied on :

Lewis g.kreme@redacted.invalid schrieb:

In message 4E9B76ED-7EE4-4418-BA5D-6E9B2C9443B9%edv@redacted.invalid Florian edv@redacted.invalid wrote:

Hi NG, i have wall-mounted a headless powerbook to become my home server. I have added a new power button on the outside. Is there a possibility to change the switch-off behavior in osx? I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.

First, Bad idea.

Why? I love it. Have a look. http://www.edv-consulting-berlin.de/images/homeServ.jpg It has a integrated UPS.

Second, press and hold the power button for 6 seconds.

Yes sure, jump out of the window.

Florian

Florian Zschocke replied on :

Jolly Roger jollyroger@redacted.invalid schrieb:

In article fudo-161EDC.10425009052008@redacted.invalid, fudo fudo@redacted.invalid wrote:

In article 4E9B76ED-7EE4-4418-BA5D-6E9B2C9443B9%edv@redacted.invalid, Florian Zschocke edv@redacted.invalid wrote:

i have wall-mounted a headless powerbook to become my home server. I have added a new power button on the outside. Is there a possibility to change the switch-off behavior in osx? I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.

Why don't you want to use the Finder shutdown command?

I'm not the OP, but I can certainly imagine situations where it is more convenient to press the physical power button than connect to the machine remotely or access the Finder by some other means.

Yes.

http://www.edv-consulting-berlin.de/images/homeServ.jpg

It would be nice to have it going down by pressing the button.

Thanx Florian

Jolly Roger replied on :

In article 73438AA6-7C43-42ED-9567-865386BAA544%edv@redacted.invalid, Florian Zschocke edv@redacted.invalid wrote:

Lewis g.kreme@redacted.invalid schrieb:

In message 4E9B76ED-7EE4-4418-BA5D-6E9B2C9443B9%edv@redacted.invalid Florian edv@redacted.invalid wrote:

Hi NG, i have wall-mounted a headless powerbook to become my home server. I have added a new power button on the outside. Is there a possibility to change the switch-off behavior in osx? I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.

First, Bad idea.

Why? I love it. Have a look. http://www.edv-consulting-berlin.de/images/homeServ.jpg It has a integrated UPS.

I'd be a little bit worried about whether it can cool itself sufficiently being closed and mounted on the wall like that, but if cooling turns out to be okay, it seems like a good candidate for a closet server. :)

Here's my home closet DNS, email, web, file, etc. server, BTW:

http://jollyroger.kicks-ass.org/closet-server.jpg

Florian Zschocke replied on :

Jolly Roger jollyroger@redacted.invalid schrieb:

I'd be a little bit worried about whether it can cool itself sufficiently being closed and mounted on the wall like that, but if cooling turns out to be okay, it seems like a good candidate for a closet server. :)

It has definitive no cooling problem. The fans are silent most of the time. There is not cpu topcase, keyboard or screen in it.

Here's my home closet DNS, email, web, file, etc. server, BTW:

http://jollyroger.kicks-ass.org/closet-server.jpg

Is that a raid? You must be a performance junky. I guess you will not hear any farting at all. That is a nice side effect. Is that a tape-backup? I could not find any good informations about tape-drives and osx. Can you tell me the brand of the tape and the backup software you use. Former i used a Linkstation NAS with FreeLink for DNS, etc. Now I have a OSX-Server 10.4.11 with Open Directory and home-folder sync. I'm still not able to setup a centralized address-book with the LDAP and I'm asking my self why it is so difficult. Leopards Directory.app seems not work with a 10.4-Server.

Florian

Lewis replied on :

In message jollyroger-A2A747.12210009052008@redacted.invalid Jolly jollyroger@redacted.invalid wrote:

In article slrng290fi.1214.g.kreme@redacted.invalid, Lewis g.kreme@redacted.invalid wrote:

In message 4E9B76ED-7EE4-4418-BA5D-6E9B2C9443B9%edv@redacted.invalid Florian edv@redacted.invalid wrote:

Hi NG, i have wall-mounted a headless powerbook to become my home server. I have added a new power button on the outside. Is there a possibility to change the switch-off behavior in osx? I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.

First, Bad idea.

You think doing a graceful shut down without the confirmation dialog is a bad idea?

You think shutdown -h now is graceful?

Second, press and hold the power button for 6 seconds.

...but you think cutting power to the system while it's running is a good idea?

No, I said it was a bad idea.

Jolly Roger replied on :

In article F347185F-03D1-409E-8A60-7227F6319B95%edv@redacted.invalid, Florian Zschocke edv@redacted.invalid wrote:

Jolly Roger jollyroger@redacted.invalid schrieb:

I'd be a little bit worried about whether it can cool itself sufficiently being closed and mounted on the wall like that, but if cooling turns out to be okay, it seems like a good candidate for a closet server. :)

It has definitive no cooling problem. The fans are silent most of the time. There is not cpu topcase, keyboard or screen in it.

Ah - then you've certainly taken care of the cooling issue well! :)

Here's my home closet DNS, email, web, file, etc. server, BTW:

http://jollyroger.kicks-ass.org/closet-server.jpg

Is that a raid? You must be a performance junky.

Yes, but it's a concatenated RAID - four 750 GB drives for a total of 3 terabytes of network storage for our home file server.

I guess you will not hear any farting at all. That is a nice side effect.

My Mac mini never farts! I don't feed it beans! : D

Is that a tape-backup? I could not find any good informations about tape-drives and osx. Can you tell me the brand of the tape and the backup software you use.

That's an EMC Exabyte VXA2 Firewire tape drive:

http://preview.tinyurl.com/oc7lb

Exabyte VXA drives use next-gen packet technology that results in very efficient and extremely reliable tape storage. Watch this little presentation to learn about VXA - I think you'll agree it's way ahead of the way most tape drives store data:

http://preview.tinyurl.com/62gckg

This technology allows you to recover data from tapes that have been boiled, frozen solid, dropped and even dunked in hot coffee! Other tape technologies can't do this:

http://www.exabyte.com/technology/tested/index.cfm

Even though hard drive space is relatively cheap, I rest easy at night knowing my data is safely stored to tapes that will last years and years offsite, should the unthinkable happen. I've had mine for over a year and a half now, with no issues. I get, on average, ~76GB per tape.

I absolutely love this tape drive, and would recommend it to anyone in the market for a tape drive.

Former i used a Linkstation NAS with FreeLink for DNS, etc. Now I have a OSX-Server 10.4.11 with Open Directory and home-folder sync.

I have Mac OS X 10.3 Server, but wasn't impressed with the bugginess of Apple's administration tools - especially their Open Directory administration tools. And printer sharing was completely screwed up as well. Hopefully (for your sake) things have improved since 10.3. : )

I run Mac OS X 10.5 client on my Mac mini. I don't do open directory for shared homes. I use the built-in BIND, Apache 2, etc. services, and some open source software as well. It's rock solid!

I'm still not able to setup a centralized address-book with the LDAP and I'm asking my self why it is so difficult. Leopards Directory.app seems not work with a 10.4-Server.

Can't help you there, as I haven't bothered with Server since my disappointing experience with 10.3

Jolly Roger replied on :

In article slrng29dq8.1ujb.g.kreme@redacted.invalid, Lewis g.kreme@redacted.invalid wrote:

In message jollyroger-A2A747.12210009052008@redacted.invalid Jolly jollyroger@redacted.invalid wrote:

In article slrng290fi.1214.g.kreme@redacted.invalid, Lewis g.kreme@redacted.invalid wrote:

In message 4E9B76ED-7EE4-4418-BA5D-6E9B2C9443B9%edv@redacted.invalid Florian edv@redacted.invalid wrote:

Hi NG, i have wall-mounted a headless powerbook to become my home server. I have added a new power button on the outside. Is there a possibility to change the switch-off behavior in osx? I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.

First, Bad idea.

You think doing a graceful shut down without the confirmation dialog is a bad idea?

You think shutdown -h now is graceful?

The OP went through the trouble of installing a power button on the outside of the case. It's obvious he wishes to press the power button to shut down the machine - he simply wants to avoid the Mac OS X shutdown dialog that appears when he presses the power button. Doing this sort of shutdown is very graceful when compared to either 'shutdown -h now' or interrupting power by holding the power button in for 6 seconds - especially the latter.

Since you ask, yes, 'shutdown -h now' in indeed a graceful shutdown. The operating system does a normal, if expedient, shut down, flushing disk caches and so on, like normal. The logout operation is forced, and applications running in the user space are force quit, in effect, but the rest of the shutdown operation is quite graceful.

Cutting power, on the other hand, doesn't even give the operating system a chance to flush the disk cache to disk! This is a bad idea, for obvious reasons.

Second, press and hold the power button for 6 seconds.

...but you think cutting power to the system while it's running is a good idea?

No, I said it was a bad idea.

Actually, you said shutting down by pressing the power button (not holding it down) and avoiding the shutdown dialog was a bad idea. Then you suggested cutting power as an alternative or solution.

Florian Zschocke replied on :

Jolly Roger jollyroger@redacted.invalid schrieb:

I guess you will not hear any farting at all. That is a nice side effect.

My Mac mini never farts! I don't feed it beans! : D

Are sure? No java-beans?

That's an EMC Exabyte VXA2 Firewire tape drive:

http://preview.tinyurl.com/oc7lb

http://preview.tinyurl.com/62gckg

http://www.exabyte.com/technology/tested/index.cfm

Looks promising. I will study these pages the next days.

Even though hard drive space is relatively cheap, I rest easy at night knowing my data is safely stored to tapes that will last years and years offsite, should the unthinkable happen. I've had mine for over a year and a half now, with no issues. I get, on average, ~76GB per tape.

I absolutely love this tape drive, and would recommend it to anyone in the market for a tape drive.

Yes, I absolute agree. There is no replacement for tape-drives.

I have Mac OS X 10.3 Server, but wasn't impressed with the bugginess of Apple's administration tools - especially their Open Directory administration tools. And printer sharing was completely screwed up as well. Hopefully (for your sake) things have improved since 10.3. : )

It became better. But it is not comparable with other server-os. I never would use it in a productive environment. But until now I think it is sufficient for home use and I got it for free.

I run Mac OS X 10.5 client on my Mac mini. I don't do open directory for shared homes. I use the built-in BIND, Apache 2, etc. services, and some open source software as well. It's rock solid!

Sure, the most of the used services you can enable and configure with the client OS too. Since I repair Books, I often change the machine I'm working with. The home-folder-sync or mobile accounts are a nice way to get on the new machine without migration. Also it is a home backup for a lost book.

Can't help you there, as I haven't bothered with Server since my disappointing experience with 10.3

I haven't seen Leopard Server jet, but perhaps you have to give it a second chance.

Florian

Jolly Roger replied on :

In article B12A7752-3A88-4327-AE44-394A453AC0D6%edv@redacted.invalid, Florian Zschocke edv@redacted.invalid wrote:

Jolly Roger jollyroger@redacted.invalid schrieb:

I guess you will not hear any farting at all. That is a nice side effect.

My Mac mini never farts! I don't feed it beans! : D

Are sure? No java-beans?

Ah - good catch! ; )

I have Mac OS X 10.3 Server, but wasn't impressed with the bugginess of Apple's administration tools - especially their Open Directory administration tools. And printer sharing was completely screwed up as well. Hopefully (for your sake) things have improved since 10.3. : )

It became better. But it is not comparable with other server-os. I never would use it in a productive environment. But until now I think it is sufficient for home use and I got it for free.

Ah - lucky you. I paid for 10.3 Server and regretted it. ; )

I run Mac OS X 10.5 client on my Mac mini. I don't do open directory for shared homes. I use the built-in BIND, Apache 2, etc. services, and some open source software as well. It's rock solid!

Sure, the most of the used services you can enable and configure with the client OS too. Since I repair Books, I often change the machine I'm working with. The home-folder-sync or mobile accounts are a nice way to get on the new machine without migration. Also it is a home backup for a lost book.

I played with shared homes with 10.3 Server. Once I finally got it to work, it was rather nice, I must admit. The ability to log in anywhere and see all of my files was a pleasure.

Implementing the same thing with client, while certainly possible, would be a lot more work than I have time for. So I'm using duplicate local accounts at home instead.

Can't help you there, as I haven't bothered with Server since my disappointing experience with 10.3

I haven't seen Leopard Server jet, but perhaps you have to give it a second chance.

Yep, perhaps - though the cost is considerable when it's not free! ; )

fudo replied on :

In article 0365ECBC-9A92-48E0-A220-C60858C69C8A%edv@redacted.invalid, Florian Zschocke edv@redacted.invalid wrote:

http://www.edv-consulting-berlin.de/images/homeServ.jpg

It would be nice to have it going down by pressing the button.

I see. I assume you know that you can get a simple two button shutdown, but it requires an attached keyboard, which would be a bit of a kludge in this circumstance. I'm sure there must be a way to trigger shutdown from a power button press, but I imagine it would take more scripting and/or programming ability than I have.

Lewis replied on :

In message jollyroger-CCC25F.16101909052008@redacted.invalid Jolly jollyroger@redacted.invalid wrote:

In article slrng29dq8.1ujb.g.kreme@redacted.invalid, Lewis g.kreme@redacted.invalid wrote:

In message jollyroger-A2A747.12210009052008@redacted.invalid Jolly jollyroger@redacted.invalid wrote:

In article slrng290fi.1214.g.kreme@redacted.invalid, Lewis g.kreme@redacted.invalid wrote:

In message 4E9B76ED-7EE4-4418-BA5D-6E9B2C9443B9%edv@redacted.invalid Florian edv@redacted.invalid wrote:

I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.

First, Bad idea.

Actually, you said shutting down by pressing the power button (not holding it down) and avoiding the shutdown dialog was a bad idea.

No, I said shutdown -h now was a bad idea, and that bypassing the shutdown dialog was a bad idea.

Then you suggested cutting power as an alternative or solution.

No, I suggested it as a bad idea way to bypass the shutdown dialog.

Jolly Roger replied on :

In article slrng2jbo6.2ku1.g.kreme@redacted.invalid, Lewis g.kreme@redacted.invalid wrote:

In message jollyroger-CCC25F.16101909052008@redacted.invalid Jolly jollyroger@redacted.invalid wrote:

In article slrng29dq8.1ujb.g.kreme@redacted.invalid, Lewis g.kreme@redacted.invalid wrote:

In message jollyroger-A2A747.12210009052008@redacted.invalid Jolly jollyroger@redacted.invalid wrote:

In article slrng290fi.1214.g.kreme@redacted.invalid, Lewis g.kreme@redacted.invalid wrote:

In message 4E9B76ED-7EE4-4418-BA5D-6E9B2C9443B9%edv@redacted.invalid Florian edv@redacted.invalid wrote:

I want a direct shutdown (shutdown now -h) instead off the finders shutdown dialog. I run os 10.4.11 on this machine.

First, Bad idea.

Actually, you said shutting down by pressing the power button (not holding it down) and avoiding the shutdown dialog was a bad idea.

No, I said shutdown -h now was a bad idea, and that bypassing the shutdown dialog was a bad idea.

I think your statement was unclear then.

Then you suggested cutting power as an alternative or solution.

No, I suggested it as a bad idea way to bypass the shutdown dialog.

I totally didn't get that from your reply.