LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-16-2004, 08:28 AM   #1
Eradicator
Member
 
Registered: Sep 2003
Posts: 44

Rep: Reputation: 15
Standby mode for drive, where does command go? inittab?


I have figured out that I can put my drive into standby mode by using this command:

hdparm -S 240 /deb/hda

but if I want this to stay with the drive even if I reboot can I add it to the inittab file? Any special formatting? Is the file located at /etc ?

If it is not the inittab file which file allows you to add settings you want to be in effect when you boot?

Thanks
 
Old 04-16-2004, 08:35 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
probably at the end of /etc/rc.d/rc.local would be best.

i'm not completely sure about the path to that file on mandrake, but i think that's it.
add the command as you would type it at the command prompt.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing inittab in FC4 so it stays in console mode? Nuvious Linux - Newbie 1 09-12-2005 05:44 AM
Standby Mode hansi umayangan Linux - General 3 03-11-2005 10:54 PM
IDE Hardisk Problem when setting drive to standby mode with hdparm cwolf Linux - General 1 07-13-2004 12:17 AM
How To Edit My /etc/inittab To Boot Into VGA console mode (non-X) CAL Linux - Newbie 3 04-06-2004 07:06 AM
Formating a Seconday hard Drive In Command Mode Saleen Linux - Newbie 4 12-03-2003 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration