Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OEMLw-0008Su-Fg for mharc-grub-devel@gnu.org; Tue, 18 May 2010 08:56:56 -0400 Received: from [140.186.70.92] (port=50165 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEMLs-0008RV-Rc for grub-devel@gnu.org; Tue, 18 May 2010 08:56:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEMLp-0000cz-GT for grub-devel@gnu.org; Tue, 18 May 2010 08:56:51 -0400 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:46382) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEMLp-0000cq-AM for grub-devel@gnu.org; Tue, 18 May 2010 08:56:49 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1OEMLo-0001Z9-12; Tue, 18 May 2010 12:56:48 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) id 1OEMLn-0005NY-00; Tue, 18 May 2010 13:56:47 +0100 Date: Tue, 18 May 2010 13:56:47 +0100 From: Colin Watson To: grub-devel@gnu.org Message-ID: <20100518125647.GA20607@riva.ucam.org> References: <20100518121723.GM21862@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100518121723.GM21862@riva.ucam.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost02-IP: [82.69.40.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Surbhi Palande , Anthony DeRobertis , Joey Hess , 540786@bugs.debian.org, Robert Wohlrab Subject: Re: btrfs-probe branch X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2010 12:56:55 -0000 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 [cjwatson@ubuntu.com]