Gentoo Archives: gentoo-user

From: Tanstaafl <tanstaafl@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] I guess it is time to update udev from 171-r10 to 197-r8...
Date: Mon, 18 Mar 2013 11:16:12
Message-Id: 5146F75B.8030104@libertytrek.org
In Reply to: Re: [gentoo-user] I guess it is time to update udev from 171-r10 to 197-r8... by Tanstaafl
1 Ok, spent a little time re-reading the old threads about this...
2
3 Just to confirm, changes I should make in my /etc/fstab...
4
5 <snip> normal fs lines
6 > # NOTE: The next line is critical for boot!
7 > none /proc proc defaults 0 0
8
9 I can/should simply delete the above two lines?
10
11 then
12
13 > # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
14 > # POSIX shared memory (shm_open, shm_unlink).
15 > # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
16 > # use almost no memory if not populated with files)
17 > shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
18
19 I should change the above line to:
20
21 > tmpfs /dev/shm tmpfs nodev,nosuid,noexec 0 0
22
23 Combined with the other recommended changes:
24
25 > - Remove udev-postmount from runlevels.
26 >
27 > - Enable CONFIG_DEVTMPFS=y in the kernel;
28
29 I've also seen recommendation to enable:
30
31 CONFIG_DEVTMPFS_MOUNT=y ?
32
33 > need to verify the fstype for possible /dev line in /etc/fstab is
34 > devtmpfs (and not, for example, tmpfs)
35
36 I have no /dev line, and only one network adapter, so nothing to do here
37
38 > - The case of separate /usr; if it worked for you with 171 it will
39 > continue to work for you with 197 (or newer). We still recommend
40 > initramfs with separate /usr mounting capabilities because you
41 > might need packages like sys-apps/kbd (keymaps in /usr) or
42 > net-wireless/bluez (possible keyboard) in early boot.
43
44 Ok, this one is unclear...
45
46 My system is currently indeed (and always has been) booting fine with a
47 separate /usr (on lvm)... but...
48
49 The above reference to 'might need packages like sys-apps/kbd', which is
50 now *required* by udev, suggests that now I again do need an initramsf?
51
52 Thanks for ya'lls patience. I have a feeling this is going to be another
53 non-event, but I'd much prefer a little pre-update pain than a lot of
54 post-update pain... ;)

Replies

Subject Author
Re: [gentoo-user] I guess it is time to update udev from 171-r10 to 197-r8... Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] I guess it is time to update udev from 171-r10 to 197-r8... Tanstaafl <tanstaafl@×××××××××××.org>