technosaurus,technosaurus wrote:good thinking about /proc/partitions - I assume that when /proc/partitions changes you look at /sys/block and/or /proc/mounts in the other script?
Yes , much better to monitor /sys/block for specific directory changes than examining the single file /proc/partitions for specific content changes (difficult to say what went missing )
Regards,
s