Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-18-2013, 10:34 AM
|
#1
|
Member
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 376
Rep: 
|
/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.
|
|
|
11-18-2013, 10:55 AM
|
#2
|
Member
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368
Rep: 
|
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.
|
11-19-2013, 10:00 AM
|
#3
|
Member
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 376
Original Poster
Rep: 
|
(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....]
|
|
|
11-19-2013, 10:28 AM
|
#4
|
Member
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368
Rep: 
|
/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)
|
|
|
11-20-2013, 02:10 PM
|
#5
|
Member
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 376
Original Poster
Rep: 
|
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.)
|
|
|
All times are GMT -5. The time now is 03:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|