Hi, On Sat, Mar 25 2000 at 01:31 +0200, Togan Muftuoglu wrote:
for setting the UDMA by default question two answers came both different. Just to make sure I do this on one go, which of them make more sense to you
Put the hdparm command into /etc/rc.d/boot.local and it'll be executed whenever you boot linux. (that sounds better to my ear
or
may be putting
hdparm -cN -dM /dev/hdX
with appropriate values of N, M and X in /etc/profile will >help?
The first option is better. I wonder who suggested it :-> /etc/profile ist executed every time a user logs in, but for hdparm it is sufficient to be executed once -- at the time the system boots. And there's another drawback with /etc/profile: It is executed with the permission of the user who logs into the system, but hdparm has to be run with root permissions (or more precisely, by a user who has write access to /dev/hdX): [sttr]/home/sttr> /usr/local/sbin/hdparm -d 1 /dev/hdg /dev/hdg: Permission denied [sttr]/home/sttr> su Password: [root]/home/sttr# /usr/local/sbin/hdparm -d 1 /dev/hdg /dev/hdg: setting using_dma to 1 (on) using_dma = 1 (on) Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/