{"id":19704322,"url":"https://github.com/returninfinity/bmfs","last_synced_at":"2025-04-07T05:16:40.679Z","repository":{"id":6186858,"uuid":"7417260","full_name":"ReturnInfinity/BMFS","owner":"ReturnInfinity","description":"Utility for accessing a disk formatted with BMFS","archived":false,"fork":false,"pushed_at":"2024-12-23T13:39:24.000Z","size":542,"stargazers_count":52,"open_issues_count":0,"forks_count":33,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-31T04:07:11.534Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ReturnInfinity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-01-03T03:41:38.000Z","updated_at":"2025-03-20T21:40:53.000Z","dependencies_parsed_at":"2024-08-25T21:29:08.260Z","dependency_job_id":"e059d3b7-6b3e-4bc5-b233-cb02e5ebb3fd","html_url":"https://github.com/ReturnInfinity/BMFS","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReturnInfinity%2FBMFS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReturnInfinity%2FBMFS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReturnInfinity%2FBMFS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReturnInfinity%2FBMFS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReturnInfinity","download_url":"https://codeload.github.com/ReturnInfinity/BMFS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595335,"owners_count":20963943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T21:21:58.340Z","updated_at":"2025-04-07T05:16:40.658Z","avatar_url":"https://github.com/ReturnInfinity.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BMFS\n\nUtility for accessing a disk or disk image formatted with BareMetal File System (BMFS).\n\n\n## Prerequisites\n\nThe scripts in this repo depend on a Debian-based Linux system like [Ubuntu](https://www.ubuntu.com/download/desktop) or [Elementary](https://elementary.io). macOS is also supported.\n\n- [GCC](https://gcc.gnu.org) - C compiler for building C/C++ applications.\n\nIn Linux this can be completed with the following command:\n\n\tsudo apt install gcc\n\n\n## Building BMFS\n\n    ./build.sh\n\n*You can copy the bmfs binary to a location in the system path for ease of use*\n\n\n## Creating a new, formatted disk image\n\n    bmfs disk.image initialize 128M\n\n\n## Creating a new disk image that boots BareMetal OS\n\n    bmfs disk.image initialize 128M path/to/bmfs_mbr.sys path/to/pure64.sys path/to/kernel64.sys\n\nor if the Pure64 boot loader and BareMetal-OS kernel are combined into one file:\n\n    bmfs disk.image initialize 128M path/to/bmfs_mbr.sys path/to/software.sys\n\n\n## Formatting a disk image\n\n\tbmfs disk.image format\n\nIn Linux/Unix/Mac OS X you can also format a physical drive by passing the correct path.\n\n\tsudo bmfs /dev/sdc format\n\n\n## Display BMFS disk contents\n\n\tbmfs disk.image list\n\nSample output:\n\n\tC:\\baremetal\u003eutils\\bmfs BMFS-256-flat.vmdk list\n\tDisk Size: 256 MiB\n\tName                            |            Size (B)|      Reserved (MiB)\n\t==========================================================================\n\ttest.app                                           31                    2\n\tAnotherFile.app                                     1                    2\n\thelloc.app                                        800                    2\n\n\n## Create a new file and reserve space for it\n\n\tbmfs disk.image create FileName.Ext\n\nYou will be prompted for the size to reserve.\n\nAlternately, you can specify the reserved size after the file name. The reserved size is given in Megabytes and will automatically round up to an even number.\n\n\tbmfs disk.image create FileName.Ext 4\n\n\n## Read from BMFS to a local file\n\n\tbmfs disk.image read FileName.Ext\n\n\n## Write a local file to BMFS\n\n\tbmfs disk.image write FileName.Ext\n\n\n## Delete a file on BMFS\n\n\tbmfs disk.image delete FileName.Ext\n\n\n// EOF\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freturninfinity%2Fbmfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freturninfinity%2Fbmfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freturninfinity%2Fbmfs/lists"}