Anyone interesting in a Boot Image format?
Posted: Thu Sep 06, 2007 9:06 pm
Hey people,
My projects use something I have been using called the Zenobit boot package. Basically, ZBP is a filesystem in a file. I created it out of laziness (I didn't want to have to write a floppy disk driver to retrieve the rest of my files from the drive).
Anywho, since my project (Zenobit) is officially on hiatus, I figured I would make a slightly improved ZBP Format and release it as public domain. Maybe it could be useful to someone out there.
So, these are ZBP2's features:
- Simple format.
- Tools to create and inspect ZBP2 Archives are ANSI-C89 compliant and use no crazy libraries. So, they will compile under almost everything (Windows, Unix, etc...)
- Ability to package multiple files into a single archive.
- Files can be organized in Directories.
- Variable-length Directory/Filenames.
- As it was designed for bootstrapping Zenobit, File data is aligned on 4KiB boundaries.
(So, I could create the new processes and such without actually copying any of the
data from the package).
- As Zenobit's Second stage bootloader (like everything else) was contained within the ZBP archive, the first file is ALWAYS at a known location. After I have finished tweaking ZBP2, I will post that information.
These are ZBP2's limitations:
- To save some space in the entry structure, it is only possible to have $FFFF files within a single ZBP.
+ A work around is to nest ZBP Archives.
- In the Effort vs. Time vs. Fun balance of creating new things, ZBPv2 doesn't use the GREATEST structure for organizing it's entry structures. Files are stored in a BST structure in alphabetical order.
- It does not support things like Compression or Encryption (as of yet).
+ However, there is a DWORD reserved for future use. This dword could point to a future structure to store compression/encryption information.
I'm in the process of forming a little website devoted to producing crazy things, like ZBP2.. All of it will be public domain.
In any case, if anyone is interested in rescuing ZBP from cyberhell, speak now or forever hold ye piece...
~Zeii, the 32bit Alchemist.
My projects use something I have been using called the Zenobit boot package. Basically, ZBP is a filesystem in a file. I created it out of laziness (I didn't want to have to write a floppy disk driver to retrieve the rest of my files from the drive).
Anywho, since my project (Zenobit) is officially on hiatus, I figured I would make a slightly improved ZBP Format and release it as public domain. Maybe it could be useful to someone out there.
So, these are ZBP2's features:
- Simple format.
- Tools to create and inspect ZBP2 Archives are ANSI-C89 compliant and use no crazy libraries. So, they will compile under almost everything (Windows, Unix, etc...)
- Ability to package multiple files into a single archive.
- Files can be organized in Directories.
- Variable-length Directory/Filenames.
- As it was designed for bootstrapping Zenobit, File data is aligned on 4KiB boundaries.
(So, I could create the new processes and such without actually copying any of the
data from the package).
- As Zenobit's Second stage bootloader (like everything else) was contained within the ZBP archive, the first file is ALWAYS at a known location. After I have finished tweaking ZBP2, I will post that information.
These are ZBP2's limitations:
- To save some space in the entry structure, it is only possible to have $FFFF files within a single ZBP.
+ A work around is to nest ZBP Archives.
- In the Effort vs. Time vs. Fun balance of creating new things, ZBPv2 doesn't use the GREATEST structure for organizing it's entry structures. Files are stored in a BST structure in alphabetical order.
- It does not support things like Compression or Encryption (as of yet).
+ However, there is a DWORD reserved for future use. This dword could point to a future structure to store compression/encryption information.
I'm in the process of forming a little website devoted to producing crazy things, like ZBP2.. All of it will be public domain.
In any case, if anyone is interested in rescuing ZBP from cyberhell, speak now or forever hold ye piece...
~Zeii, the 32bit Alchemist.