Files
oldlinux-files/Minix/2.0.0/wwwman/man8/printroot.8.html
2024-02-19 00:21:39 -05:00

74 lines
988 B
HTML

<HTML>
<HEAD>
<TITLE>printroot(8)</TITLE>
</HEAD>
<BODY>
<H1>printroot(8)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
printroot - print the name of the root device on standard output
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>printroot</STRONG>
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-r</STRONG> Print only the root device, not a full mtab line
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>printroot</STRONG> # Print the name of the root device
</PRE>
<H2>DESCRIPTION</H2><PRE>
<EM>Printroot</EM> is useful for initializing the /<EM>etc</EM>/<EM>mtab</EM> when the system is
booted. It figures out what the root device is by searching /<EM>dev</EM> until
it finds a block special file with the right major/minor device numbers.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man5/fstab.5.html">fstab(5)</A></STRONG>, <STRONG><A HREF="../man8/boot.8.html">boot(8)</A></STRONG>.
</PRE>
</BODY>
</HTML>