/etc/init.d/hdparm on Gentoo system w/o devfs complains about not being able to find /dev/discs - this trivial patch fixes it: (sorry for messed up modification dates) --- /etc/init.d/hdparm.orig 2003-12-03 20:01:17.000000000 +0100 +++ /etc/init.d/hdparm 2003-12-06 10:20:09.000000000 +0100 @@ -12,7 +12,7 @@ drives="" cdroms="" - for i in `dir /dev/discs` + for i in `dir /dev/discs 2>/dev/null` do if [ ! -n "`ls -la /dev/discs/${i} | grep scsi`" ] then
rather than just piping everything into /dev/null why dont we update the script to check to handle devfs and an old school dev setup ? (hd[abcde])
ah whatever, added the patch