Box: Pogoplug V4
I installed Debian on the SD card.
I have an external usb hard disk, I want to achieve this: every time when the disk is connected, the system will provide file service and start some programs.
So I use udev rules and scripts.
The scripts works well when I plug in the disk driver or unplug it from the usb port. But when the system reboot, the scripts do not work during the boot time.
I took several hours to test the rules and scripts, and found it seems the only command that can be executed in the udev rules at the boot time is "/bin/mount".
Is there any way to debug the udev process at the boot time?
I installed Debian on the SD card.
I have an external usb hard disk, I want to achieve this: every time when the disk is connected, the system will provide file service and start some programs.
So I use udev rules and scripts.
The scripts works well when I plug in the disk driver or unplug it from the usb port. But when the system reboot, the scripts do not work during the boot time.
I took several hours to test the rules and scripts, and found it seems the only command that can be executed in the udev rules at the boot time is "/bin/mount".
Is there any way to debug the udev process at the boot time?