I want to assemble a Linux machine with an SSD Drive for the root filesystem. Another, larger internal hard disk is also attached, but will only be used few times a week/month, for backups, storing larger image sets etc.
To save energy and reduce noise from the computer, I want to auto-spin down the disk drive - that is easy to do if the device is not mounted using hdparm.
I could manually mount/unmount from the command line, but this IMHO not a good UI experience. I'd rather have the internal drive be treated like an usb drive. In modern distros (I am using ubuntu with gnome3) the disk will show up in nautilus, and upon clicking, it will be mounted under /media. I can also unmount the drive by clicking the eject icon in nautilus, which is very used friendly.
So here's the thing: How can I make the internal drive to be "usb like". Is there some udev magic rule that will do that?
hdparm -S
(note: this is different fromhdparm -s
!).