[Linux-ia64] efibootmgr 0.4.0-test6

From: <Matt_Domsch_at_Dell.com>
Date: 2002-04-06 14:10:44
I've done a bit of GPT code cleanup in efibootmgr, prompted by Richard
Hirst's Debian IA-64 work, and have now posted 0.4.0-test6 at 

Changelog extracts below since the first of the year.  Functionally the only
new thing is the write_variable() behavior change necessitated by EFI 1.1
having gone and changed the name of the variable I had been using as the

- write_variable() now searches /proc/efi/vars for a variable that's not
  the one being written.  The EFI 1.1 sample implementation changed the
  name of the "victim" being written to (was Efi-xxxxx, now EFI-xxxxx), so
  previous versions of efibootmgr don't work with the new firmware.  This
  should fix that up.
- conversion to GPT code in post-2.4.18 and post-2.5.7 kernels.
- added manpage contributed by dannf@fc.hp.com
- BLKGETSIZE64 is fixed in 2.4.18-pre8 and 2.5.4-pre3.  Wait a bit longer
before using though.
- added list_for_each_safe() routine.  It's needed in the boot
var deletion routine, though it was already breaking out once found.
- commented out BLKGETSIZE64 ioctl use for now.  Kernels 2.4.15-2.4.18 and
  2.5.0-2.5.3 don't return the right value.
- added back in read last sector IOCTL hack, but only after read() fails.

This works fine on my Itanium workstation with GPT disks and a 2.4.18
Barring anything unexpected, I want to tag this as 0.4.0 final in the near

Feedback and patches appreciated.


Matt Domsch
Sr. Software Engineer
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
#1 US Linux Server provider for 2001! (IDC Mar 2002)
Received on Fri Apr 05 20:11:07 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:08 EST