Re: Hotplugd doesnt run /etc/hotplug/attach

2016-09-18 Thread Mihai Popescu
http://undeadly.org/cgi?action=article&sid=20131113030229

Re: Hotplugd doesnt run /etc/hotplug/attach

2016-09-18 Thread George Pediaditis
if i understand your question no it doesnt connect through usb port $ dmesg | grep -A 3 cdrom cd0 at scsibus1 targ 1 lun 0: 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: RTL8168G

Re: Hotplugd doesnt run /etc/hotplug/attach

2016-09-18 Thread George Pediaditis
I checked hotplug-diskmount. It works fine from command line. It mounts the cdrom. The problem is that i don't know where to insert that line of code. hotplugd doesn't called attach file. On Sun, Sep 18, 2016 at 7:59 AM, Sebastien Marie wrote: > On Sat, Sep 17, 2016 at 07:34:42PM +0300, George

Re: Hotplugd doesnt run /etc/hotplug/attach

2016-09-18 Thread Sebastien Marie
On Sun, Sep 18, 2016 at 09:26:05AM +0200, Stephane HUC "PengouinPdt" wrote: > I think you are in error. > > The doc hotplug-diskmount say: I spoke about hotplugd(8), a daemon in base, and not about sysutils/hotplug-diskmount port. But I could be wrong too for my assumption on hotplugd(8) as I di

Re: Hotplugd doesnt run /etc/hotplug/attach

2016-09-18 Thread Stephane HUC "PengouinPdt"
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

Re: Hotplugd doesnt run /etc/hotplug/attach

2016-09-17 Thread Sebastien Marie
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 detach

Re: Hotplugd doesnt run /etc/hotplug/attach

2016-09-17 Thread George Pediaditis
thanks for your reply. I attached the 2 files you requested. I should add/ that i can mount without any problems the cd from the command line. My problem is hotplugd that doesnt run /etc/hotplug/attach. thanks On Sun, Sep 18, 2016 at 6:26 AM, Edgar Pettijohn wrote: > On 16-09-17 19:34:42, George

Re: Hotplugd doesnt run /etc/hotplug/attach

2016-09-17 Thread Edgar Pettijohn
On 16-09-17 19:34:42, 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? > > Thanks You may want to provide logs(i think it logs to /var/log/daemo

Re: Hotplugd doesnt run /etc/hotplug/attach

2016-09-17 Thread George Pediaditis
I attached the file you request. Although i dont think the problem is the file. Before "case $DEVCLASS in" i put a line of code echo "test" >/tmp/test to see if the file was executed when i entered a cd. Nothing happened when i enter a cd. But when i entered my usb stick the file was created. It s

Re: Hotplugd doesnt run /etc/hotplug/attach

2016-09-17 Thread Stephane HUC "PengouinPdt"
Hi, George Please send your config file /etc/hotplug/attach. On 09/17/16 18:34, 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? > > Thanks >

Hotplugd doesnt run /etc/hotplug/attach

2016-09-17 Thread George Pediaditis
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? Thanks