blob: 22f5b8ac88375c6f6cab18a95c130dc88c837d68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
.TH PRINTROOT 8
.SH NAME
printroot \- print the name of the root device on standard output
.SH SYNOPSIS
\fBprintroot\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH OPTIONS
.TP 5
.B \-r
# Print only the root device, not a full mtab line
.SH EXAMPLES
.TP 20
.B printroot
# Print the name of the root device
.SH DESCRIPTION
.PP
.I Printroot
is useful for initializing the \fI/etc/mtab\fR when the system is booted.
It figures out what the root device is by searching \fI/dev\fR until it
finds a block special file with the right major/minor device numbers.
.SH "SEE ALSO"
.BR fstab (5),
.BR boot (8).
|