[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hdparm



On Tue, Sep 24, 2002 at 06:01:31PM +0100, Boris Duerner wrote:
> Hi,
> I think for the script we don't really need start/stop/restart options, do we?
> The script will just look for /etc/hdparm.conf and execute hdparm with the 
> options specified there.
> 
> Marc

For script executed from /etc/rc.S/ we should not need
start/stop/restart options.  Problem was lintian complained it and I
have not read manual of lintian to shut-up message.

I think I mentioned it in bug report.  You may check other similar
package how they handle this.

> On Tuesday 24 September 2002 17:02, you wrote:
> > Please file bug against #87451 with patch.  (See previous patch
> > proposals including mine too.)
> >
> > If your script can take care well.
> >
> > I think /etc/hdparm is better named /etc/hdparm.conf
> >
> > Also make sure to provide ample comments for warnings etc in the file.
> >
> > On Tue, Sep 24, 2002 at 12:06:47PM +0100, Boris Duerner wrote:
> > > Hi,
> > > I my local usergroup, whenever I installed Debian on a new machine, I was
> > > asked to set the harddrive to -c1,-d1,and -mxx.
> > > So from my point of view there is demand for speed enhancement. I roughly
> > > thought of a /etc/hdparm with the following syntax
> > >
> > > [Drive]
> > >  device=/device/hda
> > >  dma=on
> > >  io_32=on
> > >  multi_sector_count=16
> > >
> > > [Drive]
> > >  device=/dev/hdb
> > >  dma=on
> > >  io_32=off
> > >  multi_sector_count=0
> > >
> > > By having separate device stanzas, the user can decide what he wants to
> > > switch on or off for each device.
> >
> > Good design.  Do you have /etc/init.d/hdparm.sh (Yes not
> > /etc/init.d/hdparm see my comment in the other thread.)
> 
> 
> --
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
        Osamu Aoki @ Cupertino CA USA, GPG-key: A8061F32
 .''`.  Debian Reference: post-installation user's guide for non-developers
 : :' : http://www.debian.org/doc/manuals/reference/ also http://qref.sf.net
 `. `'  "Our Priorities are Our Users and Free Software" --- Social Contract



Reply to: