source: trunk/minix/man/man8/printroot.8@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 625 bytes
Line 
1.TH PRINTROOT 8
2.SH NAME
3printroot \- 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
24is useful for initializing the \fI/etc/mtab\fR when the system is booted.
25It figures out what the root device is by searching \fI/dev\fR until it
26finds 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.