LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-18-2013, 10:34 AM   #1
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 376
Blog Entries: 1

Rep: Reputation: Disabled
/run/udev/watch broken links


All of the links in /run/udev/watch are broken. I ran a script that changes each link to point to the correct file in /run/udev/data. I haven't a clue whether or not that needs to work or what it does. With udev absorped into systemd, all bets are off.
 
Old 11-18-2013, 10:55 AM   #2
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Rep: Reputation: 165Reputation: 165
uhmmm,

if not mistaken:

/run/udev/watch is generated by initramfs.
and copied to /run/udev/data when initramfs finishes.

so symlinking this is dangerous, as it might break hardware that you attach.
 
1 members found this post helpful.
Old 11-19-2013, 10:00 AM   #3
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 376

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
(That was a one-time temporary kludge. I stumbled up that while looking for something else.)
The folder /run/udev/watch contains links to each file in /run/udev/data as if they were in the same directory. If initramfs doesn't copy those to /run/udev/data, I must have a broken initramfs. Thing is, initramfs is a fedora/redhat nom de guerre; slackware uses initrd. It is my understanding that their contents are different. /boot/initrd-tree is somewhat different than lsinitramfs last time I looked (init is a link to /usr/lib/systemd/systemd). Initrd does mount /proc /sys /run and /dev, but leaves populating those to udev. I guess I need to fix a udev.d/rules file in /etc to find out why udev leaves /run/udev/watch in situ with no links in /run/udev/data.

Thanks for your help, bartgymnast!
--
Obquote: "I'm an idiot, but I'm ok." -apologies to Colonel Torvalds.

[Now if I can just figure out why Thunar segfaults with error 4....]
 
Old 11-19-2013, 10:28 AM   #4
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Rep: Reputation: 165Reputation: 165
/run is a temporarily directory that will be cleared on each reboot.

you should not worry at all about /run/udev/watch <-- these are temporarily files)
 
Old 11-20-2013, 02:10 PM   #5
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 376

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
What? Me worry? I know /var/run and/or /run is a tempfs, but it's the principal of the thing. An entire directory filled with nothing but broken links? It's just the 'b' data. The data files contain two numbers, one is the name of the broken link and the other is a hash. They used to pay me a lot of money to fret such minutia, but now, it's just another junior programmer without a B.S. or M.S. in Computer Science or Computer Systems Engineering. I worry over the morning cuppa whether to go fly fishing or go to the stadium to watch a ball game. ;-)

(Things like rc.udev deleting /dev/shm with a note that it will put it back later, only to put back /dev/pts and forget about /dev/shm. XFCE won't even make a splash page without it. Time for my nap.)
 
  


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
UDEV: Unable to run a command line interface script after USB automount using udev mohamr2 Linux - Embedded & Single-board computer 8 08-16-2011 11:39 AM
DHCP-3.0.5 links broken Paulsuk Linux From Scratch 2 12-04-2007 12:32 AM
Kubuntu+Broken udev kinus Linux - Software 0 01-23-2007 12:24 PM
Broken simbolic links ale_murakami Amigo 2 05-20-2005 07:06 AM
Broken links? danthehat Linux - Newbie 4 02-03-2005 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:40 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
Open Source Consulting | Domain Registration