LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 12:14 PM   #1
nisargshah95
LQ Newbie
 
Registered: Feb 2014
Distribution: Linux Mint 17.3 Rosa
Posts: 17

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 12:15 PM.
 
Old 02-06-2015, 01:12 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 5,825
Blog Entries: 12

Rep: Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008
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, 01:25 PM   #3
nisargshah95
LQ Newbie
 
Registered: Feb 2014
Distribution: Linux Mint 17.3 Rosa
Posts: 17

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, 01:33 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 5,825
Blog Entries: 12

Rep: Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008Reputation: 2008
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, 01:39 PM   #5
nisargshah95
LQ Newbie
 
Registered: Feb 2014
Distribution: Linux Mint 17.3 Rosa
Posts: 17

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, 04:52 PM   #6
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,598

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:24 AM
[SOLVED] udevadm trigger is not permitted while udev is unconfigured bortbortresson Linux - Server 1 08-31-2011 04:09 PM
Difference in Kernel output between USB key vs USB HDD...using udevadm samaresh4 Linux - Kernel 0 05-19-2010 08: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 10:23 AM
Boot - UDEVADM modsRule Debian 4 02-24-2009 02:35 PM

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

All times are GMT -5. The time now is 11:47 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration