]> git.proxmox.com Git - grub2.git/commit - ChangeLog-2015
Change grub-mkdevicemap to emit /dev/disk/by-id/ names where
authorColin Watson <cjwatson@ubuntu.com>
Mon, 28 Jun 2010 07:55:05 +0000 (08:55 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Mon, 28 Jun 2010 07:55:05 +0000 (08:55 +0100)
commitcb88052ba36b1deb8ed91b703b258645b0876457
tree3c32f6dacf522ddad3ac664d62bca57d09461412
parentbbe346529e999e09dc1aed179c50eed090d28bd3
Change grub-mkdevicemap to emit /dev/disk/by-id/ names where
possible on Linux.
* util/deviceiter.c (check_device): Rename to ...
(check_device_readable_unique): ... this.  Update all callers.
Maintain and check a list of which devices (by canonicalized name)
have already been seen.
(clear_seen_devices): New function.
(compare_file_names) [__linux__]: New function.
(grub_util_iterate_devices): Clear the list of seen devices on exit
and (just in case) on entry.
(grub_util_iterate_devices) [__linux__]: Iterate over non-partition
devices in /dev/disk/by-id/, in sorted order.  Remove DM-RAID
seen-devices list, superseded by general code in check_device.
ChangeLog
util/deviceiter.c