Open Source › LamBoot filesystem crates › lamfold-udf
lamfold-udf
UDF (ECMA-167, OSTA UDF 1.02 to 2.01).
forbid(unsafe_code)
|
1 required dependency
What lamfold-udf is for
lamfold-udf reads UDF over a lamfold BlockSource and sits beside lamfold-iso on UDF-Bridge optical media.
Basis: Clean-room UDF.
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-udf = "0.1"
Or cargo add lamfold-udf. On Debian unstable or testing, the packaged crate is librust-lamfold-udf-dev (rust-lamfold-udf).
What it reads
| Feature | Status |
|---|---|
| Descriptor chain (AVDP, VDS, partition and logical volume, file set, root ICB) | Read |
| File Entries and Extended File Entries (UDF 2.00 and later, mkudffs's default) | Read (EFE from 0.1.1) |
| File identifiers; inline, short_ad and long_ad data; UCS-2 and Latin-1 names | Read |
What it refuses
- Metadata, sparable and VAT partition maps (UDF 2.50 and later), extended_ad, allocation-extent continuation
What it depends on, and what it doesn't
Avoids: Everything but 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 |
How it's tested
Real mkudffs images (UDF 1.02 and 2.01) populated by the kernel through a loop mount.
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