This one time, at band camp, Graham Williams said: > Received Sat 11 Jun 2005 12:21pm +1000 from Stephen Gran: > > This one time, at band camp, Graham Williams said: > > > I'm using "hdparm -a8 -u" on /dev/hda (a CD/DVD). > > > > > > Editted /etc/hdparm.conf as suggested in README.Debian > > > Symlinked /etc/init.d/hdparm to /etc/rcS.d/S29hdparm.second > > > Reboot and hdparm settings not taken > > > > > > Changing to later in init: /etc/rcS.d/S39hdparm.second > > > Reboot and hdparm settings have taken! > > > > Do you use udev? I suppose this is going to be a FAQ at some point. I > > don't, so testing is going to be difficult for me. If not, I'll need > > some error messages to get any further with this. If so, I suppose it's > > because udev hasn't set up the device yet, although it's init script has > > run. > > Yes I do use udev. I had a bit of a look around for any errors but > didn't see anything. I used to use hwtools to run hdparm and that is > at S60 and never had a problem with it there. I am not familiar with > the corruption problem though.
It's not corruption. udev dynamically generates device nodes when it starts up, and they are created too slowly for other maintainer scripts to rely on anything but the root file system to be there at any given moment. I am at some point in the future going to revisit this whole issue, and provide proper support for udev systems, but as I don't use udev, it will require some research and thought first (as well as probably a couple of false starts). > If you can suggest anything I can do to help track down the issue, > happy to do so. No, there's nothing more for you to do, I'm afraid (unless you want to write the patches to provide proper udev integration :). Your approach sounds like it's working for you, and I'm glad for that. The reason the suggestion was made to run it at S29 is that I am worried that changing drive access modes could lead to disk corruption if done while the drive is mounted and the data is in use, and S29 is about as late as hdparm can run before that happens. In your case, though, it's a CD/DVD drive, so this is (virtually) impossible. -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature

