On 30.01.2012 02:22, Richard Laager wrote:
On 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?
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 kernels
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel