On Mon, Mar 30, 2009 at 17:27, Tom <tomgparchaur@xxxxxxxxx> wrote: > Kay Sievers escribió: >> On Mon, Mar 30, 2009 at 16:43, Tom <tomgparchaur@xxxxxxxxx> wrote: >>> I have a spare hard disk I don't touch the most of the time. Due to a >>> strange reason, a change uevent is triggered some random time of the day >>> (like 4 or more times) and then, of course, udev apply the rules, being >>> one of them a rule which runs vol_id which then wakes up my spinned-down >>> hard disk (debugged with echoing a 1 to /proc/sys/vm/block_dump and >>> udevadm monitor). >> >> Does "monitor" show a kernel event, or only a udev event? >> >> Any other events at the same time? >> > I don't remember exactly (if I remember correctly, it was one uevent > everytime). Here I attach the logs. Later I could tell you better. I > will be more aware of that. If there is no kernel event, if might be udev itself watching for possible changes done by userspace programs to the disk. >> Are you running smartd? > Yes, but I have smartd configured to ignore the hard disk if it's in > standby. In syslog I have: > smartd[7004]: Device: /dev/sda, is in STANDBY mode, suspending checks > > And thanks for answering so fast (and wasting your time too). But I guess it open the device node writable, so it might trigger a change event. Kay -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html