I think you are in error.

The doc hotplug-diskmount say:

"When you plug USB thumb drive, insert SD card into the attached card
reader or insert CD/DVD into attached removable DVD drive filesystems
from these devices will be automatically mounted under /vol/DRIVE_NAME.
Hotplug-diskmount will mount as many partitions as disk contains."

@George: just for be sure: your device CD-Rom is really USB? really
removable drive?

On 09/18/16 06:59, Sebastien Marie wrote:
> On Sat, Sep 17, 2016 at 07:34:42PM +0300, George Pediaditis wrote:
>> Hello.
>> I am trying to mount CD automatically when i insert it.
>> Hotplugd doesn't run /etc/hotplug/attach when i insert the CD.
>> It works fine with USB stick any ideas?
> hotplugd(8) watchs for devices attachment or detachment, but a CD
> insertion is a new medium in a existing device, so no event is
> generated.
> For this specific problem, sysutils/toad (marked broken) was using a
> polling daemon: a program that regulary try to readlabelfs(3) from cdXc,
> and run itself the attach script.
> See https://github.com/ajacoutot/toad/blob/master/toadd.c for source
> code of the polling daemon.

<adv> ~ " Fully Basic System Distinguish Life! " ~ " Libre as a BSD "
+=<<< </adv>
<me>Stephane HUC as CIOTBSD</me>

Reply via email to