[CentOS] How to trigger automount of USB drives in Centos6

Daniel Haas dhaas at theunixbox.com
Thu Aug 2 16:33:05 UTC 2012


On Wed, Aug 1, 2012 at 2:44 PM, Emmanuel Noobadmin
<centos.admin at gmail.com> wrote:
> On 8/1/12, Earl Ramirez <earlaramirez at gmail.com> 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 at centos.org
> 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/



More information about the CentOS mailing list