On Tue, May 18, 2010 at 01:17:24PM +0100, Colin Watson wrote:
> (Vladimir cited a rumour to the effect that libblkid may be able to
> handle this, but I haven't been able to find any evidence of it knowing
> how to deal with mount points at all.  We can always revisit this
> later.)

Scott James Remnant chased this up.  'blkid -o list' shows mount points,
but this is implemented in the blkid command-line tool rather than in
the libblkid library.  I don't think it would be significantly easier
for grub-probe to parse the output of a command-line tool than for it to
just parse /proc/self/mountinfo, and it certainly wouldn't be any
quicker, so I suggest staying with the approach in my branch until some
appropriate feature is available in libblkid or another common library.

-- 
Colin Watson                                       [cjwat...@ubuntu.com]

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to