filetest.html 959 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <html>
  2. <head>
  3. <title>filetest</title>
  4. <body bgcolor=#ffffff>
  5. <h2 align=center>filetest</h2>
  6. <h4 align=center>OS/161 Reference Manual</h4>
  7. <h3>Name</h3>
  8. filetest - basic filesystem test
  9. <h3>Synopsis</h3>
  10. /testbin/filetest <em>filename</em>
  11. <h3>Description</h3>
  12. filetest tests the filesystem by opening, writing to, and reading from
  13. a user-specified file.
  14. <h3>Requirements</h3>
  15. filetest uses the following system calls:
  16. <ul>
  17. <li> <A HREF=../syscall/open.html>open</A>
  18. <li> <A HREF=../syscall/read.html>read</A>
  19. <li> <A HREF=../syscall/close.html>close</A>
  20. <li> <A HREF=../syscall/remove.html>remove</A>
  21. <li> <A HREF=../syscall/write.html>write</A>
  22. <li> <A HREF=../syscall/_exit.html>_exit</A>
  23. </ul>
  24. filetest should run correctly on SFS filesystems with the OS/161
  25. system as shipped. It should continue to work once the file system
  26. assignment is complete.
  27. <p>
  28. It will not work in full on emufs, because emufs does not support
  29. remove().
  30. </body>
  31. </html>