blob: e5acc8e287966564c51c290ad6c631cfeaae5152 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] ANN: Dracut now mounts /usr properly \o/
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ANN%3A%20Dracut%20now%20mounts%20/usr%20properly%20%5Co/&In-Reply-To=%3C4EEA715E.3080606%40colin.guthr.ie%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="010495.html">
<LINK REL="Next" HREF="010507.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] ANN: Dracut now mounts /usr properly \o/</H1>
<B>Colin Guthrie</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ANN%3A%20Dracut%20now%20mounts%20/usr%20properly%20%5Co/&In-Reply-To=%3C4EEA715E.3080606%40colin.guthr.ie%3E"
TITLE="[Mageia-dev] ANN: Dracut now mounts /usr properly \o/">mageia at colin.guthr.ie
</A><BR>
<I>Thu Dec 15 23:14:54 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="010495.html">[Mageia-dev] RPM Filesystem space check broken?
</A></li>
<LI>Next message: <A HREF="010507.html">[Mageia-dev] ANN: Dracut now mounts /usr properly \o/
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10499">[ date ]</a>
<a href="thread.html#10499">[ thread ]</a>
<a href="subject.html#10499">[ subject ]</a>
<a href="author.html#10499">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>OK, so this took me a while to actually get around to setting up some
VMs to test this. Sorry about that :s
Anyway, I've tested with a / on ext4 + /usr on LVM + ext4.
With appropriate fixes, I was able to generate an initrd without any
specific config to tell dracut what to do. There is a caveat. /usr is
mounted read only. I can tweak this, but by the same token I'm not sure
I should... It's trivial to do a "mount -o remount,rw /usr" if you want
to install packages etc. Otherwise, /usr should pretty much be read only
anyway.. if something tries to modify stuff on /usr that's not part of a
package installation process that is (IMO) a bug and should be fixed.
The code for mounting /usr is not the same as how it'll (eventually) be
done upstream. It only deals with /usr and if you have e.g. /usr/bin on
a separate partition they you are SOL and will have to wait for the
upstream version.
I think however that for the majority of setups the current solutions is
likely good enough.
Now, when I installed, dracut wasn't used as initrd, so if no one shouts
too loudly I'll make it deprecate mkinitrd tomorrow and we can test
installs where dracut generates the first initrd and see how it fairs.
Please test and let me know. It's version 014.1mga2
Col
--
Colin Guthrie
colin(at)mageia.org
<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
Day Job:
Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
Open Source:
Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="010495.html">[Mageia-dev] RPM Filesystem space check broken?
</A></li>
<LI>Next message: <A HREF="010507.html">[Mageia-dev] ANN: Dracut now mounts /usr properly \o/
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10499">[ date ]</a>
<a href="thread.html#10499">[ thread ]</a>
<a href="subject.html#10499">[ subject ]</a>
<a href="author.html#10499">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|