Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev-mount and opentmpfs [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
javeree
Guru
Guru


Joined: 29 Jan 2006
Posts: 356

PostPosted: Fri Jul 26, 2019 12:52 pm    Post subject: udev-mount and opentmpfs [solved] Reply with quote

I see that in one of my computers, rc-status sysinit gives
Quote:
Runlevel: sysinit
sysfs [ started ]
devfs [ started ]
udev-mount [ started ]
udev [ started ]
dmesg [ started ]
kmod-static-nodes [ started ]
opentmpfiles-dev [ started ]
udev-trigger [ started ]
cgroups [ started ]

Another computer has the exact same setup, but without udev-mount. I also see in /etc/init.d/opentmpfiles-dev 'use udev-mount'.
Both computers seem to work ok, but I would like to understand these steps. What is each of these services needed for, and should I either remove udev-mount or should I add it ?


Last edited by javeree on Tue Aug 06, 2019 2:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43551
Location: 56N 3W

PostPosted: Fri Jul 26, 2019 10:10 pm    Post subject: Reply with quote

javeree,

Once upon a time, udev-mount was a required service.
Time passed and it was designed out.

That you still have it says that you need it and that system is running a very old install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4204
Location: Dallas area

PostPosted: Fri Jul 26, 2019 11:02 pm    Post subject: Reply with quote

Sounds like an old udev-init-scripts

I just looked at version 7 and it has udev-mount in it (from version 7 to version 26), old but still workable.
I'm running version 27 and have no need to update.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
GDH-gentoo
n00b
n00b


Joined: 20 Jul 2019
Posts: 65
Location: South America

PostPosted: Sat Jul 27, 2019 2:37 am    Post subject: Reply with quote

Anon-E-moose wrote:
Sounds like an old udev-init-scripts

I agree.

javeree wrote:
I see that in one of my computers, rc-status sysinit gives
Quote:
Runlevel: sysinit
sysfs [ started ]
devfs [ started ]
udev-mount [ started ]
udev [ started ]
dmesg [ started ]
kmod-static-nodes [ started ]
opentmpfiles-dev [ started ]
udev-trigger [ started ]
cgroups [ started ]

Another computer has the exact same setup, but without udev-mount. I also see in /etc/init.d/opentmpfiles-dev 'use udev-mount'.
Both computers seem to work ok, but I would like to understand these steps. What is each of these services needed for, and should I either remove udev-mount or should I add it ?

udev-mount used to be a service provided by sys-fs/udev-init-scripts, and was removed in version 27. Its functionality was absorbed by OpenRC's devfs service in version 0.13. Depending on configuration, it mounts a devtmpfs on /dev and creates some device nodes if they don't exist, like /dev/console and /dev/null.

opentmpfiles-dev processes entries in {/etc,/run,/usr/lib}/tmpfiles.d/*.conf files that refer to /dev. Its depend() function says "use dev-mount", not "use udev-mount". devfs is the current dev-mount provider, (i.e. contains "provide dev-mount" in depend()), and udev-mount was the former one.

NeddySeagoon wrote:
That you still have it says that you need it and that system is running a very old install.

It is confusing because opentmpfiles-dev is also there, and sys-apps/opentmpfiles isn't that old.


Last edited by GDH-gentoo on Wed Jul 31, 2019 11:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4204
Location: Dallas area

PostPosted: Sat Jul 27, 2019 10:47 am    Post subject: Reply with quote

I've had stuff left in /etc/init.d before especially with old udev*

If you're running a newer udev-init-scripts, it's probably an orphan

if you have equery emerged you can check with equery b /etc/init.d/udev-mount to see if it belongs to anything.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
javeree
Guru
Guru


Joined: 29 Jan 2006
Posts: 356

PostPosted: Sat Jul 27, 2019 11:34 am    Post subject: Reply with quote

true, this is an old system, probably first installed before 2010.
equery b did not show anything, so I'll remove it and reboot to check.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum