home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man2 / mount.2 < prev    next >
Encoding:
Text File  |  1975-06-26  |  1.2 KB  |  64 lines

  1. .th MOUNT II 5/15/74
  2. .sh NAME
  3. mount \*- mount file system
  4. .sh SYNOPSIS
  5. (mount = 21.)
  6. .br
  7. .ft B
  8. sys  mount; special; name; rwflag
  9. .s3
  10. mount(special, name, rwflag)
  11. .br
  12. char *special, *name;
  13. .br
  14. .ft R
  15. .sh DESCRIPTION
  16. .it Mount
  17. announces to the system that a removable file system has
  18. been mounted on
  19. the block-structured special file
  20. .it special;
  21. from now on, references to file
  22. .it name
  23. will refer to
  24. the root file on the newly mounted file system.
  25. .it Special
  26. and
  27. .it name
  28. are pointers to null-terminated strings
  29. containing the appropriate path names.
  30. .s3
  31. .it Name
  32. must exist already. 
  33. Its old contents
  34. are inaccessible while the file system
  35. is mounted.
  36. .s3
  37. The
  38. .it rwflag
  39. argument determines whether
  40. the file system can be written on; if it is 0 writing
  41. is allowed, if non-zero no writing is done.
  42. Physically write-protected and magnetic
  43. tape file systems must be mounted read-only or
  44. errors will occur when access times are updated,
  45. whether or not any
  46. explicit write is attempted.
  47. .sh "SEE ALSO"
  48. mount (VIII), umount (II)
  49. .sh DIAGNOSTICS
  50. Error bit
  51. (c-bit) set if:
  52. .it special
  53. is inaccessible or not an appropriate file;
  54. .it name
  55. does not exist;
  56. .it special
  57. is already mounted;
  58. .it name
  59. is in use;
  60. there are already too many
  61. file systems mounted.
  62. .sh BUGS
  63. \-
  64.