run script if a usb harddisk is attached

Hi all,

is there a way to run a script whe an usb hdd is attached to the server?
I want to check the size of the usb hdd and depending on it some LVM
snapshots should be copied over. (SLES11 SP1)

Thanks in advance

Alex
Parents Reply Children
No Data