Re: [Cooker] rc.local misused on Mandrake

2002-01-28 Thread Chmouel Boudjnah

Borsenkow Andrej [EMAIL PROTECTED] writes:

 Not every user knows about *.rpmnew files; and when you install using
 rpmdrake you get *no* feedback (that is the main reason I do not use it)
 and do not know if you have to look and compare old and new file.

True but we don't have a tool that could do that.

 I'm just thinking where to put

 echo -n using_dma:0  /proc/ide/ide1/hdd/settings

Read /etc/rc.d/rc.sysinit:

# Turn on harddisk optimization
# There is only one file /etc/sysconfig/harddisks for all disks
# after installing the hdparm-RPM. If you need different hdparm parameters
# for each of your disks, copy /etc/sysconfig/harddisks to
# /etc/sysconfig/harddiskhda (hdb, hdc...) and modify it.
# each disk witch has no special parameters will use the defaults.

-- 
http://www.chmouel.org/




Re: [Cooker] rc.local misused on Mandrake

2002-01-28 Thread Chmouel Boudjnah

Borsenkow Andrej [EMAIL PROTECTED] writes:

 Please, read cooker thread with subject

Sorry but i don't get the problem, you can put also this setting in
/etc/sysctl.conf. 


-- 
http://www.chmouel.org/




RE: [Cooker] rc.local misused on Mandrake

2002-01-28 Thread Borsenkow Andrej

  I'm just thinking where to put
 
  echo -n using_dma:0  /proc/ide/ide1/hdd/settings
 
 Read /etc/rc.d/rc.sysinit:
 
 # Turn on harddisk optimization
 # There is only one file /etc/sysconfig/harddisks for all disks

Please, read cooker thread with subject

devfs  my cd-rw ide device

:-)

-andrej




RE: [Cooker] rc.local misused on Mandrake

2002-01-28 Thread Borsenkow Andrej


 
  Please, read cooker thread with subject
 
 Sorry but i don't get the problem, 

The problem is that with devfs no IDE device node for ide-scsi's devices
is created so you cannot use hdparm to turn DMA off.

you can put also this setting in
 /etc/sysctl.conf.
 

Which variable exactly? /proc/ide is outside of /proc/sys and there
nothing in /proc/sys that controls DMA.

-andrej




Re: [Cooker] rc.local misused on Mandrake

2002-01-28 Thread Chmouel Boudjnah

Borsenkow Andrej [EMAIL PROTECTED] writes:

 Which variable exactly? /proc/ide is outside of /proc/sys and there
 nothing in /proc/sys that controls DMA.

Ok the only way would be to create a /etc/local.d/ thing to handle
setting like that...

-- 
http://www.chmouel.org/




RE: [Cooker] rc.local misused on Mandrake

2002-01-28 Thread Borsenkow Andrej


 
  Which variable exactly? /proc/ide is outside of /proc/sys and there
  nothing in /proc/sys that controls DMA.
 
 Ok the only way would be to create a /etc/local.d/ thing to handle
 setting like that...

I always like dot-d stuff :-) Good idea BTW