diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-December/010518.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-December/010518.html | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-December/010518.html b/zarb-ml/mageia-dev/2011-December/010518.html new file mode 100644 index 000000000..a03b9fdfa --- /dev/null +++ b/zarb-ml/mageia-dev/2011-December/010518.html @@ -0,0 +1,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> |