On Sat, 22 Aug 2009, Niu Kun wrote: > Robert P. J. Day 写道: > > On Fri, 21 Aug 2009, Robert P. J. Day wrote: > > > > > > > On Sat, 22 Aug 2009, Niu Kun wrote: > > > > > > (with respect to getting my /dev/sda* device files built) > > > > > > > > > > So here, your best choice seems to try. > > > > here's my z60_hdparm.rules file: > > > > > > > i'm assuming that's a brand new rules file, right? not just adding > > > to an existing rules file since i have no such file. > > > > > > > > > > ACTION=="add", SUBSYSTEM=="block", KERNEL=="[sh]d[a-z]", > > > > RUN+="/etc/init.d/hdparm hotplug" > > > > Hope this helps. > > > > > > > um ... i have no config file /etc/init.d/hdparm. at all. does that > > > belong to a package i should install? and would that explain why i > > > have no hdparm udev rules file? > > > > > > > i just installed the "hdparm" package and i now have all of the > > above. but i still need to verify that i have to recreate my > > initrd with that new content, otherwise it won't do me any good > > just sitting on the hard drive, correct? > > > You're right at least for me.:) > Wish you good luck.
nope, that failed, and here's why: there's no /etc/init.d directory in the initrd. /etc/udev is there, and the hdparm-related files are there in /etc/udev, and they look correct, but how could that possibly have any effect unless the corresponding /etc/init.d/hdparm script was in the initrd as well? i only noticed that after the boot once again timed out, fell into busybox, after which i tried to run # /etc/init.d/hdparm hotplug manually, and noticed it was missing. how is this supposed to work without that script in the initrd? or am i just totally confused by now? rday -- ======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Annoying Kernel Pedantry. Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday ========================================================================