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