summaryrefslogtreecommitdiffstats
path: root/discover/cdrom.h
Commit message (Collapse)AuthorAgeFilesLines
* discover: Fix CDROM handlingJeremy Kerr2013-12-021-0/+9
Currently, we don't handle CDROM devices well; we'll try to mount on boot, and not detect any media changes. Also, the default rules shipping with udev will put the CDROM tray into a locked state, blocking eject from working. This change adds a set of cdrom utility functions, which the udev code can use to properly initialise cdrom devices and handle eject and media change requests. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
OpenPOWER on IntegriCloud