Logo Search packages:      
Sourcecode: efilinux version File versions

void list_boot_devices ( void   )

list_boot_devices - Print a list of all disks with filesystems

Definition at line 153 of file fs.c.

{
      int i;

      Print(L"Devices:\n\n");

      for (i = 0; i < nr_fs_devices; i++) {
            EFI_DEVICE_PATH *path;
            EFI_HANDLE dev_handle;
            CHAR16 *dev;

            dev_handle = fs_devices[i].handle;

            path = DevicePathFromHandle(dev_handle);
            dev = DevicePathToStr(path);

            Print(L"\t%d. \"%s\"\n", i, dev);
            free_pool(dev);
      }

      Print(L"\n");
}

Generated by  Doxygen 1.6.0   Back to index