[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Single Page

Top Document: comp.sys.3b1 FAQ part2
Previous Document: 8.1. What are the LED's left side of the machine for?
Next Document: 8.3. Why did the time display at the top of the screen go away?


8.2. What's /etc/update? What does it do?


	/etc/update is an antiquated command which is no longer
necessary to be used.  It is not a shell script, but could easily be
one.  The executable basically takes one argument, the number of
seconds to sleep, or defaults to 30 (I believe).  It then sleeps that
interval and then issues a sync(2) system call.  This is a continuous
process -- it detaches itself from the current tty with the setpgrp(2)
call, and closes all file descriptors 0, 1, and 2 (stdin, stdout, and
stderr).  It was to be run by /etc/init, as a boot-time process, and
was to remain there for the duration of the machine's uptime.



Top Document: comp.sys.3b1 FAQ part2
Previous Document: 8.1. What are the LED's left side of the machine for?
Next Document: 8.3. Why did the time display at the top of the screen go away?

Part1 - Part2 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
jbunch@nyx.nyx.net (John B. Bunch)

Last Update July 24 2008 @ 00:12 AM

© 2008 FAQS.ORG. All rights reserved.