Re: harddrive in %pre

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx         +1 (407) 489-7013 (Mobile) 
mailto:b.j.smith@xxxxxxxx  (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/


_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux