Re: automount and autorun



Maurizio Marini wrote:
My target is to use an "autorun" bash script when an usb pen is automounted like http://linlog.skepticats.com/content/udevautorun/ describe.

With recent kernels hotplug is vanished replaced by udev; there is no /etc/dev.d or /etc/hotplug, anymore.
I am not able to find a place where put bash script to be executed.
I read tons of google udev links w/out result, yet.
Any advice would be apreciated

Maurizio

It is /etc/udev and /etc/hotplug.d. But HAL handles things like mounting USB pen drives. So you will probably have to add a HAL rule to do this...

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • Re: FC3 cant read /etc/mtab
    ... > Immediately after UDEV my machine says: ... > Anyone have any advice? ... I advise you to cat /etc/fstab and include this in your problem ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)
  • FC3 cant read /etc/mtab
    ... Immediately after UDEV my machine says: ... "The Superblock could not be read or does not describe ext2 file ... Anyone have any advice? ...
    (Fedora)
  • Re: automount and autorun SOLVED
    ... Mikkel L. Ellertson wrote: ... With recent kernels hotplug is vanished replaced by udev; ... I am not able to find a place where put bash script to be executed. ... I read tons of google udev links w/out result, ...
    (Fedora)
  • Re: bootlogd: ioctl (/dev/ttyzf, TIOCCONS): Bad file descriptor
    ... "Miquel van Smoorenburg" writes: ... It turned out that I was using udev 0.021. ... and my bootlog started working. ... the advice ...
    (Debian-User)
  • automount and autorun
    ... My target is to use an "autorun" bash script when an usb pen is automounted ... With recent kernels hotplug is vanished replaced by udev; ... I am not able to find a place where put bash script to be executed. ... I read tons of google udev links w/out result, ...
    (Fedora)