Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
On 06/16/2012 08:54 PM, Richard Pieri wrote: > On 6/16/2012 3:34 PM, MBR wrote: >> Even though the OS guys knew that typing 'sync', waiting about 5 >> seconds, then typing 'halt' was really all that was necessary, most of >> the programmers writing application level code didn't know that. > > As Jerry noted, some early Unixes had issues. Invoking halt after > sync is a race condition regardless of how many sync invocations are > used. Three invocations of sync -- "sync;sync;sync;halt" as a single > shell command -- was considered sufficient for nearly every occasion. > The exceptions could then be relegated to incompetent users waiting > until literally the last milliseconds to save their work or act of > $DEITY, take your pick. > I don't think it caused a race condition in older system V (Cadmus where I worked), or on BSD. At Digital we generally used the shutdown(8) command. -- Jerry Feldman <gaf at blu.org> Boston Linux and Unix PGP key id:3BC1EB90 PGP Key fingerprint: 49E2 C52A FC5A A31F 8D66 C0AF 7CEA 30FC 3BC1 EB90
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |