mkflashfs 644 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. .TH MKFLASHFS 8
  2. .SH NAME
  3. mkflashfs \- make a journalling file system for flash memory
  4. .SH SYNOPSIS
  5. .B aux/mkflashfs
  6. [
  7. .B -n
  8. .I nsect
  9. ] [
  10. .B -z
  11. .I sectsize
  12. ]
  13. .I file
  14. .SH DESCRIPTION
  15. .I Mkflashfs
  16. creates an empty journalling file system in
  17. .IR file ,
  18. typically
  19. .BR /dev/flash/flash .
  20. .PP
  21. The files and directory structure are divided into
  22. .I sectsize
  23. (default
  24. .BR 4096 )
  25. byte blocks.
  26. Larger blocks make large files more compact but take longer to access.
  27. Supplying the
  28. .B -n
  29. option forces
  30. .I file
  31. to contain exactly
  32. .I nsect
  33. sectors.
  34. .SH SOURCE
  35. .B /sys/src/cmd/aux/flashfs/mkflashfs.c
  36. .SH "SEE ALSO"
  37. .IR flashfs (4),
  38. .IR paqfs (4),
  39. .IR sacfs (4)