I have to design a program to monitor USB ports of a linux server to detect when an external hard drive is plugged in and removed.
Now I have one confusion in my mind about it. I have my own VPS. so if i design a program then how can i check it without physically plugging external drive as i'm working on vps. does it mean that there is no other way except that I install OS on my own computer at home and then plugin hard drive myself and check it?
actually I have to develop this program for 3 different OS thats why I'm asking.