flashfs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. .TH FLASHFS 4
  2. .SH NAME
  3. flashfs \- journalling file system for flash memory
  4. .SH SYNOPSIS
  5. .B disk/flashfs
  6. [
  7. .B -Dr
  8. ] [
  9. .B -n
  10. .I nsect
  11. ] [
  12. .B -z
  13. .I sectsize
  14. ]
  15. [
  16. .B -f
  17. .I file
  18. ]
  19. [
  20. .B -m
  21. .I mountpoint
  22. ]
  23. .SH DESCRIPTION
  24. .I Flashfs
  25. interprets the journal-based file system created by
  26. .IR mkflashfs (8)
  27. and stored in
  28. .I file
  29. (default
  30. .BR /dev/flash/fs )
  31. so that it can be mounted into a Plan 9 file system.
  32. .I Flashfs
  33. is typically used to create a stand alone file system from
  34. a small persistent storage device, such as an erasable flash memory.
  35. It does not authenticate its clients and assumes each group
  36. has a single member with the same name.
  37. .PP
  38. The
  39. .B -s
  40. option causes
  41. .I flashfs
  42. to post its channel on
  43. .BR #s/flashfs .
  44. .I Flashfs
  45. mounts itself on
  46. .IR mountpoint
  47. (default
  48. .BR /n/brzr ).
  49. The
  50. .B -D
  51. option turns on 9P debugging output.
  52. The
  53. .B -r
  54. option makes the file system read-only.
  55. .PP
  56. The files and directory structure are divided into
  57. .I sectsize
  58. (default
  59. .BR 4096 )
  60. byte blocks.
  61. Larger blocks make large files more compact but take longer to access.
  62. Supplying the
  63. .B -n
  64. option forces
  65. .I file
  66. to contain exactly
  67. .I nsect
  68. sectors.
  69. .SH SOURCE
  70. .B /sys/src/cmd/aux/flashfs
  71. .SH "SEE ALSO"
  72. .IR paqfs (4),
  73. .IR sacfs (4),
  74. .IR mkflashfs (8)