spindown for cd

19 views
Skip to first unread message

Clinton R Lambe

unread,
May 27, 2009, 2:25:59 PM5/27/09
to spindown...@googlegroups.com

I am trying to get spindown to work for a sony ATA dvd/cd drive. It is at /dev/sr0 and I am running Fedora 8. I can start the daemon but the status report is just a title and blank line. I have setup the conf file for either name = sr0 or name = /dev/sr0; both yield the same results. Since this is a dvd, the is no entry in /dev/disk/by-id for me to find the "id". I am interested in using this particularly for cd's. sg_start can start and stop the cd just fine.
Questions:
Can spindown work for cd's?
How can I set up my conf file for this device?



Dimitri

unread,
May 27, 2009, 5:17:03 PM5/27/09
to Spindown Support
Hi Clinton,

In theory spindown could spin down your CD drive if you find /dev/sr0
in /proc/diskstats (my CD-drive is called /dev/sdc and it's in there).

As mention in http://code.google.com/p/spindown/wiki/Configuration you
can also specify a device using the name parameter. This way you don't
need /dev/disk/by-id. Like this:

[Disk 0]
name = sr0
spindown = 1
command = [insert your command here]

Then you need to know the command that spins down your cdrom drive.

My CD-drive does this automatically. Doesn't yours do this?

Regards,
Dimitri
Reply all
Reply to author
Forward
0 new messages