harddrive in %pre
Bryan J Smith
bjs at redhat.com
Fri Aug 27 16:56:06 UTC 2010
On Fri, 2010-08-27 at 11:50 -0400, Dan Davis wrote:
> What we do is set a label with mkfs.vfat and change the syslinux.cfg
> on the USB to make reference to the USB label.
> In %pre and %post scripts, you can use udevadm info on the devices and
> figure out which is USB, but that only works if your "real" hard disks
> are not USB.
But one can capture unique IDs of the USB device. It would require a
slight, extra-effort on each USB device, but it would be worth it.
--
Bryan J Smith Senior Consultant Red Hat, Inc
Professional Consulting http://www.redhat.com/consulting
mailto:bjs at redhat.com +1 (407) 489-7013 (Mobile)
mailto:b.j.smith at ieee.org (Blackberry/Red Hat-External)
--------------------------------------------------------
You already know Red Hat as the entity dedicated to 100%
no-IP-strings-attached, community software development.
But do you know where CIOs rate Red Hat versus other
software and services firms for their own, direct needs,
year after year? http://www.redhat.com/promo/vendor/
More information about the Kickstart-list
mailing list