Open Source › LamBoot filesystem crates › lamfold-iso
lamfold-iso
ISO 9660 with Rock Ridge, Joliet, El Torito and zisofs.
forbid(unsafe_code)
|
1 required dependency
What lamfold-iso is for
lamfold-iso is the optical frontend of the lamfold stack. It reads over a lamfold BlockSource and composes recursively, so LamBoot can read an .iso file stored inside another volume and boot from it.
Basis: Clean-room ISO 9660 / ECMA-119.
Part of lamfold: A thin frontend over the lamfold substrate (v0.1.5), which supplies its codecs, block cache, bounded parsing and integrity checks.
Add it to your crate
[dependencies]
lamfold-iso = "0.1"
Or cargo add lamfold-iso. On Debian unstable or testing, the packaged crate is librust-lamfold-iso-dev (rust-lamfold-iso).
What it reads
| Feature | Status |
|---|---|
| ISO 9660 / ECMA-119 base (PVD, directory records, file extents) | Read |
| Rock Ridge (real names, symlinks, POSIX modes, continuation areas) | Read |
| Joliet (UCS-2 names) | Read |
| El Torito UEFI boot image | Read, sized from its FAT boot sector when the catalog says 0 |
| zisofs (paged zlib) | Read, behind zisofs |
| Multi-extent files of 4 GiB or more | Read (0.1.2) |
What it refuses
- CL, PL and RE deep-directory relocation (not yet)
What it depends on, and what it doesn't
Avoids: GPL ISO 9660 drivers. Its only dependency is the lamfold substrate.
Always
- lamfold 0.1.5: The substrate
Only with a feature
None.
Cargo features
| Feature | Default | What it adds |
|---|---|---|
| std | Yes | std support |
| zisofs | Yes | zisofs, through the substrate's deflate codec |
How it's tested
xorriso images: plain ISO 9660, -R, -J, a UEFI El Torito image, --zisofs, a Rock Ridge tree with shared extents and long names, and an appended EFI partition as archiso makes.
No GPL drivers in the boot path
Until 2026 LamBoot read most Linux filesystems through about a dozen prebuilt UEFI filesystem driver binaries from the EfiFs (GPL-3.0) and rEFInd (GPL-2.0) projects. Three things ruled them out at once. Debian's free-software guidelines and Fedora's packaging rules reject a prebuilt .efi blob that isn't built from source in the archive. Microsoft doesn't sign GPLv3 code for Secure Boot, and loading a separate UEFI driver binary removes the ShimLock protocol that shim 15.8 relies on. And GPL binaries sit badly beside a permissively licensed loader. These crates replace those drivers with readers compiled into LamBoot itself. The whole family · LamBoot
The lamfold stack
Disk filesystems: lamxfs · lambutter · lamlvm · lamzfs · lamexfat · lamfat