Re: /dev/ file overload. Some advice please.
With respect to DMA on the CD/DVD ROM drives, it may be related to the ATA driver that is used.
In the past (and still in some linux distros), PATA disk drives got to be /dev/hd* while SATA & SCSI devices were /dev/sd*. Starting in Linux 2.6.2something, it became possible to use a new ATA driver that made both PATA & SATA devices show up as /dev/sd* (or /dev/scd*). Ubuntu started loading this driver by default some time after v. 6.06.
In any case, I've noticed problems with this driver, PATA devices, and hdparm before.
To fix this, you can find out the module name and add it to /etc/modprobe.d/blacklist and then hope that your computer can find and load the correct drive for your particular ide chipset at boot time. You could also compile your own kernel and make sure that you don't compile in that driver. Depending on if your root drive is SATA or PATA, you may need to edit your /boot/grub/menu.lst to make sure that you pass the correct name of your root drive to the kernel at boot time.
If you do find that you need to have to set hdparm parameters and they don't get saved over reboots, you can put the command in your rc.local. You should also have a file called /etc/hdparm.conf where you can set the proper options. Ubuntu should be set-up to execute hdparm when you're going into runlevel 1 or 2 and draw the config options from that file. It's a slightly more elegant way to handle things.
As far as your /dev/ directory goes, I wouldn't worry about it. It's not actually taking up any space on your drive.
|