> From: John van der Kamp <john@xxxxxxxxxxxxxxx> > > Normally, I set a harddisk to standby using hdparm (hdparm -y /dev/sda) > on startup (rc.local), but udev immediately spins the harddisk backup. > Only after stopping udev would the harddisk stay in standby mode. I had > no problems with udev 0.125 with this sofar. Since I have 0.140 this > problem arose. On Tue, Mar 31, 2009 at 20:25, Marco d'Itri <md@xxxxxxxx> wrote: > Indeed a change event is generated when I run hdparm -y /dev/sda. > Does anybody know why, and a workaround? Because hdparm opens the device writable, while it should probably only do it with O_RDONLY. Recent udev versions check the device again, when it was opened for writing. 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