PRINTROO.8
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. .TH PRINTROOT 8
  2. .SH NAME
  3. printroot - print the name of the root device on standard output
  4. .SH SYNOPSIS
  5. fBprintrootfR
  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/mtabfR when the system is booted.
  25. It figures out what the root device is by searching fI/devfR 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).