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