On Wed, Aug 1, 2012 at 2:44 PM, Emmanuel Noobadmin <centos.admin@xxxxxxxxx> wrote: > On 8/1/12, Earl Ramirez <earlaramirez@xxxxxxxxx> wrote: > >> You can use the UUID instead of the device name > > I thought of doing that but that assumes the same devices are used all > the time. Otherwise, I would have to maintain a list of UUIDs to add > every time and to keep trying every time the script is run which > doesn't sound very efficient to me. Thus it seems to me like there > should be a better way to do this especially since the mechanism > already appears to exist. > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos Perhaps, this article maybe of interest. http://blog.jasonantman.com/2009/11/running-a-script-on-usb-drive-insertion/ _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos