paqfs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. [
  22. .B -S
  23. .I srvname
  24. ]
  25. .I paqfile
  26. .SH DESCRIPTION
  27. .I Paqfs
  28. interprets the compressed read-only file system created by
  29. .IR mkpaqfs (8)
  30. and stored in
  31. .I paqfile
  32. so that it can be mounted into a Plan 9 file system.
  33. .I Paqfs
  34. is typically used to create a stand alone file system for
  35. a small persistent storage device, such as a flash ROM.
  36. It does not authenticate its clients and assumes each group
  37. has a single member with the same name.
  38. .PP
  39. Options to
  40. .I paqfs
  41. are:
  42. .TP
  43. .BI -c " cachesize
  44. The number of file system blocks to cache in memory. The default is 20 blocks.
  45. .TP
  46. .B -d
  47. Output various debugging information to
  48. .IR stderr .
  49. .TP
  50. .B -q
  51. Suppress the output of the archive creation date and fingerprint to
  52. .IR stderr .
  53. .TP
  54. .B -i
  55. Use file descriptors 0 and 1 as the 9P communication channel rather than create a pipe.
  56. .TP
  57. .BI -m " mtpt
  58. The location to mount the file system. The default is
  59. .BR /n/paq .
  60. .TP
  61. .BI -M " mesgsize
  62. The maximum 9P message size. The default is sufficient for 8K byte read message.
  63. .TP
  64. .B -s
  65. Post the 9P channel on
  66. .BR #s/\fIsrvname\fR ,
  67. default
  68. .BR #s/paqfs ,
  69. rather than
  70. mounting it on
  71. .IR mtpt .
  72. Use
  73. .BI -S " srvname
  74. to change the default.
  75. .TP
  76. .B -v
  77. Verify the integrity of the
  78. .IR paqfile .
  79. Before mounting the file system, the
  80. entire file is parsed and the
  81. .I sha1
  82. checksum of the file system data is compared to the checksum embedded in the file.
  83. This option enables the use of
  84. .I paqfs
  85. with files that consist of a
  86. .I paq
  87. file system concatenated with additional data.
  88. .SH SOURCE
  89. .B /sys/src/cmd/paqfs/paqfs.c
  90. .SH "SEE ALSO"
  91. .IR mkpaqfs (8)