|
From: david M b. <le...@da...> - 2012-06-24 11:14:33
|
On Sat, 2012-05-05 at 12:10 +0100, davidMbrooke wrote: > On Sat, 2012-05-05 at 10:41 +0200, Per Sjoholm wrote: > > > > Best would be to have a disk referenced with UUID solution. > > > > /Per > > Agreed. Turns out this is easy enough to implement with the "findfs" > utility. You say: > findfs UUID=my-uuid or findfs LABEL=my-label > and findfs says e.g. > /dev/sda1 > If LEAFCFG or PKGPATH includes UUID= or LABEL= we could automatically > run findfs to (try to) map that to a device name. > > The downside is that /sbin/findfs (and its shared libs) needs to be > added to initrd. I've done some quick tests and the i686 initrd grows by > 62K which is about 5%. > > This would be a nice enhancement if we can live with the initd size > increase. We should at least add the utilities to hdsupp.lrp so that > someone can customize their own initrd if they so desire. > > I have created TRAC ticket #71 > https://sourceforge.net/apps/trac/leaf/ticket/71 > > david Hi all, I propose to Close this TRAC ticket as "fixed" since as of 4.3.1-beta1: - The necessary utilities are now in hdsupp.lrp - There is some new logic in the default /init script which runs the new utilities if they are present and LEAFCFG specifies LABEL= or UUID= - I have added some guidance notes to the Wiki at http://sourceforge.net/apps/mediawiki/leaf/index.php?title=Bering-uClibc_4.x_-_User_Guide_-_Basic_Configuration_-_LEAF_Packages#Configuring_syslinux.cfg_or_isolinux.cfg david |