1 unstable release

0.1.0 Jun 6, 2024

#884 in Hardware support

GPL-3.0-or-later

25KB
434 lines

mkfs - a tool for creating a ROMFS image

Make a ROMFS image:

$ cargo run --bin neotron-romfs-mkfs -- ./snake ./flames > rom.fs
   Compiling neotron-romfs-mkfs v0.1.0 (/home/jonathan/Documents/github/neotron-romfs/mkfs)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s
     Running `target/debug/neotron-romfs-mkfs ./snake ./flames`
Loading ./snake
Loading ./flames

Then you can use lsfs to inspect the contents:

$ cargo run --bin neotron-romfs-lsfs -- ./rom.fs
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/neotron-romfs-lsfs ./rom.fs flames`
Found name="snake", ctime=2024-06-05T17:16:51Z, size=1138136
Found name="flames", ctime=2024-06-05T17:16:51Z, size=1090264

Licence

Neotron-ROMFS-mkfs Copyright (c) The Neotron Developers, 2024

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

The full text is here

Dependencies

~1.5MB
~21K SLoC