if i understand your question no it doesnt connect through usb port
$ dmesg | grep -A 3 cdrom
cd0 at scsibus1 targ 1 lun 0: <HL-DT-ST, DVDRAM GUE0N, T.02> ATAPI
5/cdrom removable
ppb0 at pci0 dev 28 function 0 "Intel 100 Series PCIE" rev 0xf1: msi
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x10: RTL8168GU/8111GU
(0x5080), msi, address 50:7b:9d:f4:e3:3c
cd0 at scsibus1 targ 1 lun 0: <HL-DT-ST, DVDRAM GUE0N, T.02> ATAPI
5/cdrom removable
ppb0 at pci0 dev 28 function 0 "Intel 100 Series PCIE" rev 0xf1: msi
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x10: RTL8168GU/8111GU
(0x5080), msi, address 50:7b:9d:f4:e3:3c

On Sun, Sep 18, 2016 at 10:26 AM, Stephane HUC "PengouinPdt"
<b...@stephane-huc.net> wrote:
> 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>
> <mail>b...@stephane-huc.net</mail>

Reply via email to