LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   what happened to udevadm? (https://www.linuxquestions.org/questions/arch-29/what-happened-to-udevadm-4175536071/)

crackpipe 03-07-2015 10:21 PM

what happened to udevadm?
 
Hmm...
Code:

$ udevadm
udevadm: missing or unknown command

# udevadm
udevadm: missing or unknown command

$ systemctl |grep udev
  systemd-udev-trigger.service        loaded active exited    udev Coldplug all Devices
  systemd-udevd.service              loaded active running  udev Kernel Device Manager
  systemd-udevd-control.socket        loaded active running  udev Control Socket
  systemd-udevd-kernel.socket        loaded active running  udev Kernel Socket

Meanwhile, other systemctl related commands working normally, eg...

Code:

# systemctl start org.cups.cupsd.service
What am I overlooking?

ferrari 03-08-2015 03:31 AM

You need to run it with a command eg
Code:

udevadm monitor
Code:

udevadm -h
Usage: udevadm [--help] [--version] [--debug] COMMAND [COMMAND OPTIONS]
  info        query sysfs or the udev database
  trigger      request events from the kernel
  settle      wait for the event queue to finish
  control      control the udev daemon
  monitor      listen to kernel and udev events
  hwdb        maintain the hardware database index
  test        test an event run
  test-builtin test a built-in command


crackpipe 03-12-2015 08:39 PM

Quote:

Originally Posted by ferrari (Post 5328637)
You need to run it with a command eg
Code:

udevadm monitor

Thanks, man. Stupid of me not to check the switches. That kind of fail looked to me like an entirely missing command. I'll mark it solved.

ferrari 03-12-2015 09:30 PM

You're welcome.


All times are GMT -5. The time now is 05:38 PM.