grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] register dummy drive


From: Robert Millan
Subject: [PATCH] register dummy drive
Date: Mon, 2 Jun 2008 15:50:14 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

There's no reason grub-probe should fail if it can't resolve drive, when we
just asked for -t fs, -t fs_uuid or -t partmap.

This patch solves the problem by spliting device/drive map[] entry registration
into a separate function, and using that from grub-probe.c to register a dummy
drive that will last during the current execution.

It's diffed relative to my previous patch for device function names (but if
we need to change something in that one, not a problem for me to readapt it,
of course).

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)

Attachment: register_dummy_drive.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]