flashfs – journalling file system for flash memory


aux/flashfs [ -Dr ] [ -n nsect ] [ -z sectsize ] [ -f file ] [ -m mountpoint ]


Flashfs interprets the journal-based file system created by mkflashfs(8) and stored in file (default /dev/flash/fs) so that it can be mounted into a Plan 9 file system. Flashfs is typically used to create a stand alone file system from a small persistent storage device, such as an erasable flash memory. It does not authenticate its clients and assumes each group has a single member with the same name.

The -s option causes flashfs to post its channel on #s/flashfs. Flashfs mounts itself on mountpoint (default /n/brzr). The -D option turns on 9P debugging output. The -r option makes the file system read-only.

The files and directory structure are divided into sectsize (default 4096) byte blocks. Larger blocks make large files more compact but take longer to access. Supplying the -n option forces file to contain exactly nsect sectors.




paqfs(4), sacfs(4), mkflashfs(8)