Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.sys.3b1 FAQ part2
Section - 8.2. What's /etc/update? What does it do?

( Part1 - Part2 - Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Houses ]


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?
See reader questions & answers on this topic! - Help others by sharing your knowledge
	/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.

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




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 | Web FAQs | Documents | RFC Index ]

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





Last Update March 27 2014 @ 02:11 PM