LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2015, 11:14 AM   #1
nisargshah95
LQ Newbie
 
Registered: Feb 2014
Location: India
Distribution: Ubuntu 17.10
Posts: 20

Rep: Reputation: 1
Question Difference between udev and udevadm


Hi. I am relatively new to linux systems. I recently jumped on an endeavor to install a vanilla kernel (3.18.5) from the kernel website. Its Documentation/Changes file mentions the minimum version requirements of the packages needed. For udev, it mentioned
Code:
udevd --version
to check the version number. But looking around I found for Fedora its
Code:
udevadm --version
(I'm using Fedora Workstation 21 64-bit). Is there any fundamental difference between these two utilities? Any explanation would be helpful.

Last edited by nisargshah95; 02-06-2015 at 11:15 AM.
 
Old 02-06-2015, 12:12 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
udevadm(8) is the the udev management tool used for configuring it and how it behaves.

udevd(8) is the udev daemon, that which has it's behavior changed by udevadm

Links above bring you to the manual pages.
 
Old 02-06-2015, 12:25 PM   #3
nisargshah95
LQ Newbie
 
Registered: Feb 2014
Location: India
Distribution: Ubuntu 17.10
Posts: 20

Original Poster
Rep: Reputation: 1
Then shouldn't
Code:
udevd --version
also return the version number? I'm sorry I am clueless here.
 
Old 02-06-2015, 12:33 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Quote:
Originally Posted by nisargshah95 View Post
Then shouldn't
Code:
udevd --version
also return the version number? I'm sorry I am clueless here.
Yep, unless it's not install. You could try
Code:
which udevd
to see if the command exists at all on your system.
 
Old 02-06-2015, 12:39 PM   #5
nisargshah95
LQ Newbie
 
Registered: Feb 2014
Location: India
Distribution: Ubuntu 17.10
Posts: 20

Original Poster
Rep: Reputation: 1
I think it doesn't
Code:
[nisarg@localhost linux-3.18.5]$ which udevd
/usr/bin/which: no udevd in (/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/nisarg/.local/bin:/home/nisarg/bin)
 
Old 02-06-2015, 03:52 PM   #6
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
From Fedora Rawhide (FWIW):
Code:
~$ ps aux | grep udev
root       406  0.0  0.1  43940  3988 ?        Ss   15:09   0:00 /usr/lib/systemd/systemd-udevd
a         2159  0.0  0.0 113096   848 pts/0    S+   15:48   0:00 grep --color=auto udev
Code:
~$ rpm -q --whatprovides /usr/lib/systemd/systemd-udevd 
systemd-218-4.playground.fc22.x86_64
Code:
~$ udevadm --version
218
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
udevadm timeout amtd Slackware 0 04-08-2012 04:24 AM
[SOLVED] udevadm trigger is not permitted while udev is unconfigured bortbortresson Linux - Server 1 08-31-2011 03:09 PM
Difference in Kernel output between USB key vs USB HDD...using udevadm samaresh4 Linux - Kernel 0 05-19-2010 07:43 PM
udev/udevadm trigger led to disks being unable to spin down for more than a second exscape Linux - Kernel 0 01-03-2010 09:23 AM
Boot - UDEVADM modsRule Debian 4 02-24-2009 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration