paqfs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. .TH PAQFS 4
  2. .SH NAME
  3. paqfs \- compressed read-only file system
  4. .SH SYNOPSIS
  5. .B paqfs
  6. [
  7. .B -disv
  8. ]
  9. [
  10. .B -c
  11. .I cachesize
  12. ]
  13. [
  14. .B -m
  15. .I mtpt
  16. ]
  17. [
  18. .B -M
  19. .I mesgsize
  20. ]
  21. .I paqfile
  22. .SH DESCRIPTION
  23. .I Paqfs
  24. interprets the compressed read-only file system created by
  25. .IR mkpaqfs (8)
  26. and stored in
  27. .I paqfile
  28. so that it can be mounted into a Plan 9 file system.
  29. .I Paqfs
  30. is typically used to create a stand alone file system for
  31. a small persistent storage device, such as a flash ROM.
  32. It does not authenticate its clients and assumes each group
  33. has a single member with the same name.
  34. .PP
  35. Option to
  36. .I paqfs
  37. are:
  38. .TP
  39. .BI -c " cachesize
  40. The number of file system blocks to cache in memory. The default is 20 blocks.
  41. .TP
  42. .B -d
  43. Output various debugging information to
  44. .IR stderr .
  45. .TP
  46. .B -i
  47. Use file descriptors 0 and 1 as the 9P communication channel rather than create a pipe.
  48. .TP
  49. .BI -m " mtpt
  50. The location to mount the file system. The default is
  51. .BR /n/paq .
  52. .TP
  53. .BI -M " mesgsize
  54. The maximum 9P message size. The default is sufficient for 8K byte read message.
  55. .TP
  56. .B -s
  57. Post the 9P channel on #s/paqfs rather than
  58. mounting it on
  59. .IR mtpt .
  60. .TP
  61. .B -v
  62. Verify the integrity of the
  63. .IR paqfile .
  64. Before mounting the file system, the
  65. entire file is parsed and the
  66. .I sha1
  67. checksum of the file system data is compared to the checksum embedded in the file.
  68. This option enables the use of
  69. .I paqfs
  70. with files that consist of a
  71. .I paq
  72. file system concatenated with additional data.
  73. .SH SOURCE
  74. .B /sys/src/cmd/paqfs/paqfs.c
  75. .SH "SEE ALSO"
  76. .IR mkpaqfs (8)