|
From: | Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: | Re: [Patch] Robustly search for ZFS labels & uberblocks |
Date: | Mon, 30 Jan 2012 02:43:46 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
On 30.01.2012 02:22, Richard Laager wrote:
Any of 2.x or 3.x line should work. However on older ones we just scan /dev to find a device with the same major/minor as the one we've got from stat (). It's possible to try to use mtab or /proc/mounts as hint while still checking for major/minor match but it's not important. Also I don't suppose anyone will use ZFS with older kernelsOn Sat, 2012-01-28 at 13:51 +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote:As for /proc/mounts : is there a reason to suppose that /proc/mounts would work when /proc/self/mountinfo doesn't/proc/self/mountinfo doesn't exist on older Linux kernels. What is upstream GRUB's minimum required version of Linux kernel?
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
[Prev in Thread] | Current Thread | [Next in Thread] |