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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/