Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am currently having to log in as root and use the hdparm -d1 /dev/hda
command to get my hard drive to run using DMA. I have to do this before logging in a user.
Is there anyway to get this to happen automatically at boot?
I added the following line to rc.local "hdparm -d1 /dev/hda" but it doesnt seem to have worked.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
i meant add -k1, not at -k1
putting stuff in rc.local is sort of like autoexec.bat
for windows. its like typing stuff at the konsole,
before you log in, if you want to think of it that way.
so, it is both a konsole command and and addition
to the rc.local file, if you wish. here's the rest of the
hdparm commands. adding 0 after the command
turns it off, 1 turns it on, which reminds me.
there are only 10 types of people in this world, people
with ... and people without . . . blah blah blah.
if i remember close to right -X64 is UDMA0
-X67 UDMA3 and so on. sometimes if you can't get
a drive to work at a certain setting you can try the next
lower one, or 2nd lower. Hell, i'd try them all to keep
from running a pio mode whatever.
Is -X33 or so MWDMA 0? those are around there
There are many facts on the web and probably on this
site about optimizing drives.
Usage: hdparm [options] [device] ..
-a get/set fs readahead
-A * set drive read-lookahead flag (0/1)
-c * get/set IDE 32-bit IO setting
-C * check IDE power mode status
-d * get/set using_dma flag
-D * enable/disable drive defect-mgmt
-f flush buffer cache for device on exit
-g display drive geometry
-h display terse usage information
-i * display drive identification
-I * read drive identification directly from drive
-k * get/set keep_settings_over_reset flag (0/1)
-K * set drive keep_features_over_reset flag (0/1)
-L * set drive doorlock (0/1) (removable harddisks only)
-m * get/set multiple sector count
-n * get/set ignore-write-errors flag (0/1)
-p * set PIO mode on IDE interface chipset (0,1,2,3,4,...)
-P * set drive prefetch count
-q change next setting quietly
-r get/set readonly flag (DANGEROUS to set)
-S * set standby (spindown) timeout
-t perform device read timings
-T perform cache read timings
-u * get/set unmaskirq flag (0/1)
-v default; same as -acdgkmnru (-gr for SCSI, -adgr for XT)
-V display program version and exit immediately
-W * set drive write-caching flag (0/1) (DANGEROUS)
-X * set IDE xfer mode (DANGEROUS)
-y * put IDE drive in standby mode
-Y * put IDE drive to sleep
-Z * disable Seagate auto-powersaving mode
* = (E)IDE drives only