From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: Drive identifiers Date: Thu, 18 Jan 2018 12:01:59 +0100 Message-ID: <20180118120159.09842812@scratchpost.org> References: <87mv1c4kp7.fsf@gnu.org> <86y3kvzypj.fsf@gmail.com> <20180118102914.6cb68394@scratchpost.org> <20180118103933.1121bca7@scratchpost.org> <873733bgpg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ec7xT-0007xI-1b for guix-devel@gnu.org; Thu, 18 Jan 2018 06:02:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ec7xP-0007Vu-3d for guix-devel@gnu.org; Thu, 18 Jan 2018 06:02:10 -0500 In-Reply-To: <873733bgpg.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Cc: Guix-devel Hi Ludo, On Thu, 18 Jan 2018 11:32:11 +0100 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Do GRUB, U-Boot, and co. provide a way to refer to drivers by serial > number? Not that I know of. udev (and ID_SERIAL) is a relatively (10 years) recent= invention. I don't think there was a generic way to easily (without havin= g a dozen different tools depending on the hardware type) get serial number= s before it. I also don't think a bootloader would have all the necessary drivers to fin= d that out either. It would be nice, sure. But once the bootloader is loaded (by the BIOS or = ROM loader), it really doesn't need the whole-drive any more, just the part= itions. And those have UUIDs right inside the partition on disk. But if bootloaders do after all support drive serial numbers I'd like to he= ar it :)