Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
.TH RTC 3
2
.SH NAME
3
rtc \- real-time clock and non-volatile RAM
4
.SH SYNOPSIS
5
.B bind #r /dev
6
.PP
7
.B /dev/rtc
8
.br
9
.B /dev/nvram
10
.SH DESCRIPTION
11
The
12
.I rtc
13
device supports devices
14
with real-time clocks and non-volatile RAM.
15
.PP
16
The
17
.B rtc
18
file behaves just like
19
.BR /dev/time
20
(see
21
.IR cons (3)).
22
The real-time clock is maintained on-board;
23
.B /dev/time
24
is set from the file server.  Neither is necessarily more accurate.
25
.PP
26
The
27
.B nvram
28
file provides (if permission allows)
29
access to the local non-volatile RAM.
30
For example,
31
.IR boot (8)
32
reads the machine's key
33
from there
34
(see
35
.IR auth (8)).
36
.SH SEE ALSO
37
.IR auth (8),
38
.IR boot (8)
39
.SH SOURCE
40
.B /sys/src/9/*/devrtc.c