Re: how to do ? minimal udev script for my rc.sysinit ?
linuxcbon linuxcbon <[email protected]> Wed, 6 May 2015 18:20:56 +0100
| Newsgroups | gmane.linux.hotplug.devel |
|---|---|
| Message-ID | <CAJ-LWjOBP1qL4dvTCMRaBNCY8e9tr30V+w-KXhyZkg8F592EkQ@mail.gmail.com> |
On Wed, May 6, 2015 at 7:46 AM, Robert Milasan <[email protected]> wrote: > > This might help: > > # start udev daemon (udevd might be called systemd-udevd) > /path/to/udevd --daemon || echo "udev error" >&2 > > # trigger events > /path/to/udevadm trigger --action=add || echo "udev trigger error" >&2 > /path/to/udevadm trigger --type=subsystems --action=add || echo "udev trigger error" >&2 > > # wait for events to finish > /path/to/udevadm settle || echo "udev settle error" >&2 > > -- > Robert Milasan Hi Robert, thanks, actually, I am testing things like that. Do you know if I need to add a line for --type=devices and what it is for ? Do you also know the minimal rules to have inside /lib/udev ? I don't need to add rules inside /etc/udev ? I also noticed udev mandatorely needs /run/udev, otherwise it doesnt start ? thanks linuxcbon -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html