[CentOS] HotPlug, eSATA, and /media
Feizhou
feizhou at graffiti.net
Sat Aug 4 00:27:40 UTC 2007
Lamar Owen wrote:
> Ok, got a quickie.
>
> I have an eSATA drive, a 750GB Seagate in an eSATA external enclosure, and a
> Silicon Image sil3132 ExpressCard controller for my laptop. The disk and
> controller work great in CentOS 5 (or F7, for that matter), if I specifically
> mount it.
>
> This is not how I want to have to use this drive, however. I want to hotplug
> it; that is, plug the controller into the laptop, and then plug the drive
> into the controller, and have it come up just like a USB drive would. It
> does not currently do that. Anyone here know how to make an eSATA (or a
> hotplug SATA mobile slide, for that matter) show up in /media, and have all
> the nice hotplug capabilities USB drives have? That is, KDE brings up the
> dialog asking what to do with the drive, it can be automounted, etc. Then
> when going to hot-unplug, I'd use the 'safely remove' context menu entry
> (just like a USB drive) and it would unmount the drive and unload anything it
> might need to unload.
Er...it is not treated like USB disks or CDs or DVDs but as a regular
hard disk.
>
> Anybody have this working? If not, i'm going to figure it out, but didn't
> want to reinvent the wheel.
I guess you will need some scripting...
More information about the CentOS
mailing list