blob: a03b9fdfa090ca0b584e8c62a3eb000ba7ff17a9 (
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
|
<!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=%3C4EEB1647.6060609%40mageia.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="010528.html">
<LINK REL="Next" HREF="010521.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] ANN: Dracut now mounts /usr properly \o/</H1>
<B>Anssi Hannula</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=%3C4EEB1647.6060609%40mageia.org%3E"
TITLE="[Mageia-dev] ANN: Dracut now mounts /usr properly \o/">anssi at mageia.org
</A><BR>
<I>Fri Dec 16 10:58:31 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="010528.html">[Mageia-dev] ANN: Dracut now mounts /usr properly \o/
</A></li>
<LI>Next message: <A HREF="010521.html">[Mageia-dev] ANN: Dracut now mounts /usr properly \o/
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10518">[ date ]</a>
<a href="thread.html#10518">[ thread ]</a>
<a href="subject.html#10518">[ subject ]</a>
<a href="author.html#10518">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 16.12.2011 00:14, Colin Guthrie wrote:
><i> OK, so this took me a while to actually get around to setting up some
</I>><i> VMs to test this. Sorry about that :s
</I>><i>
</I>><i> Anyway, I've tested with a / on ext4 + /usr on LVM + ext4.
</I>><i>
</I>><i> With appropriate fixes, I was able to generate an initrd without any
</I>><i> specific config to tell dracut what to do. There is a caveat. /usr is
</I>><i> mounted read only. I can tweak this, but by the same token I'm not sure
</I>><i> I should... It's trivial to do a "mount -o remount,rw /usr" if you want
</I>><i> to install packages etc. Otherwise, /usr should pretty much be read only
</I>><i> anyway.. if something tries to modify stuff on /usr that's not part of a
</I>><i> package installation process that is (IMO) a bug and should be fixed.
</I>
IMO init scripts should mount /usr as rw unless /etc/fstab instructs to
mount it as read-only.
><i> The code for mounting /usr is not the same as how it'll (eventually) be
</I>><i> done upstream. It only deals with /usr and if you have e.g. /usr/bin on
</I>><i> a separate partition they you are SOL and will have to wait for the
</I>><i> upstream version.
</I>><i>
</I>><i> I think however that for the majority of setups the current solutions is
</I>><i> likely good enough.
</I>><i>
</I>><i>
</I>><i> Now, when I installed, dracut wasn't used as initrd, so if no one shouts
</I>><i> too loudly I'll make it deprecate mkinitrd tomorrow and we can test
</I>><i> installs where dracut generates the first initrd and see how it fairs.
</I>><i>
</I>><i> Please test and let me know. It's version 014.1mga2
</I>><i>
</I>><i> Col
</I>><i>
</I>><i>
</I>
--
Anssi Hannula
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="010528.html">[Mageia-dev] ANN: Dracut now mounts /usr properly \o/
</A></li>
<LI>Next message: <A HREF="010521.html">[Mageia-dev] ANN: Dracut now mounts /usr properly \o/
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#10518">[ date ]</a>
<a href="thread.html#10518">[ thread ]</a>
<a href="subject.html#10518">[ subject ]</a>
<a href="author.html#10518">[ 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>
|