* util/getroot.c (grub_find_root_devices_from_mountinfo): Handle
"zfs" and "fuse.zfs" as synonyms.
This commit is contained in:
parent
071114bb3e
commit
f122e0d648
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-02-27 Richard Laager <rlaager@wiktel.com>
|
||||||
|
|
||||||
|
* util/getroot.c (grub_find_root_devices_from_mountinfo): Handle
|
||||||
|
"zfs" and "fuse.zfs" as synonyms.
|
||||||
|
|
||||||
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-02-27 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* configure.ac: Put platform and target_cpu substitutions back since
|
* configure.ac: Put platform and target_cpu substitutions back since
|
||||||
|
|
|
@ -601,7 +601,8 @@ grub_find_root_devices_from_mountinfo (const char *dir, char **relroot)
|
||||||
if (!*entries[i].device)
|
if (!*entries[i].device)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (grub_strcmp (entries[i].fstype, "fuse.zfs") == 0)
|
if (grub_strcmp (entries[i].fstype, "fuse.zfs") == 0
|
||||||
|
|| grub_strcmp (entries[i].fstype, "zfs") == 0)
|
||||||
{
|
{
|
||||||
char *slash;
|
char *slash;
|
||||||
slash = strchr (entries[i].device, '/');
|
slash = strchr (entries[i].device, '/');
|
||||||
|
|
Loading…
Reference in a new issue