SVNews r326458

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-12-02 07:29:19 - r326458 by imp (Warner Losh)

Complete list of files affected by revision r326458:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/lib/libefivar/Makefile  
  History   Contents   Diff   MODIFY   /head/lib/libefivar/efivar-dp-format.c  
  History   Contents     ADD   /head/lib/libefivar/efivar-dp-xlate.c  
  History   Contents   Diff   MODIFY   /head/lib/libefivar/efivar-dp.h  

Commit message:

Create a function to translate UEFI paths to unix paths

efivar_device_path_to_unix_path translates from UEFI to Unix
efivar_unix_path_to_device_path translates from Unix to UEFI

At present, only HD() device types are supported (both GPT and
MBR). CdRom and floppy devices aren't supported. ZFS isn't supported
because there's no way in the UEFI standard to specify a ZFS datastore.
Network devices aren't supported either.

Three forms of Unix path are accepted: /path/to/file (for a mounted
filesystem), //path/to/file (uses the EFI partition on the same disk
as /), and dev:/path/to/file (for unmounted filesystem). Two forms are
produced (the first and last).

Sponsored by: Netflix


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 1 ms, 4 files printed. Current time is 2018-03-21 12:51:52. All times are in UTC/GMT.