summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-December/010698.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-December/010698.html')
-rw-r--r--zarb-ml/mageia-dev/2011-December/010698.html143
1 files changed, 143 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-December/010698.html b/zarb-ml/mageia-dev/2011-December/010698.html
new file mode 100644
index 000000000..5b0d3cf00
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-December/010698.html
@@ -0,0 +1,143 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] [soft-commits] [2494] Port stage2 to use udev.
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B2494%5D%20Port%20stage2%20to%20use%20udev.&In-Reply-To=%3CCAONrEtbJAXNHf41O5nG19cxn1UtK%3DkHcW_oUhknreCAt_g_Qkw%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="010681.html">
+ <LINK REL="Next" HREF="010683.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] [soft-commits] [2494] Port stage2 to use udev.</H1>
+ <B>Thierry Vignaud</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B2494%5D%20Port%20stage2%20to%20use%20udev.&In-Reply-To=%3CCAONrEtbJAXNHf41O5nG19cxn1UtK%3DkHcW_oUhknreCAt_g_Qkw%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] [soft-commits] [2494] Port stage2 to use udev.">thierry.vignaud at gmail.com
+ </A><BR>
+ <I>Tue Dec 20 13:20:25 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="010681.html">[Mageia-dev] [soft-commits] [2494] Port stage2 to use udev.
+</A></li>
+ <LI>Next message: <A HREF="010683.html">[Mageia-dev] Fwd: Re: [Cooker] System can stall under heavy IOs with slow storage devices
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#10698">[ date ]</a>
+ <a href="thread.html#10698">[ thread ]</a>
+ <a href="subject.html#10698">[ subject ]</a>
+ <a href="author.html#10698">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 20 December 2011 12:59, Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">colin at mageia.org</A>&gt; wrote:
+&gt;<i> 'Twas brillig, and Thierry Vignaud at 20/12/11 11:42 did gyre and gimble:
+</I>&gt;&gt;&gt;&gt;&gt;<i> + &#160; &#160;# Start up udev and trigger cold plugs
+</I>&gt;&gt;&gt;&gt;&gt;<i> + &#160; &#160;run_program::run(&quot;mount&quot;, &quot;-t&quot;, &quot;devtmpfs&quot;, &quot;-o&quot;, &quot;mode=0755,nosuid&quot;,
+</I>&gt;&gt;&gt;&gt;&gt;<i> &quot;devtmpfs&quot;, &quot;/dev&quot;);
+</I>&gt;&gt;&gt;&gt;&gt;<i> + &#160; &#160;mkdir &quot;/dev/pts&quot;, 0755;
+</I>&gt;&gt;&gt;&gt;&gt;<i> + &#160; &#160;run_program::run(&quot;mount&quot;, &quot;-t&quot;, &quot;devpts&quot;, &quot;-o&quot;,
+</I>&gt;&gt;&gt;&gt;&gt;<i> &quot;gid=5,mode=620,noexec,nosuid&quot;, &quot;devpts&quot;, &quot;/dev/pts&quot;);
+</I>&gt;&gt;&gt;&gt;&gt;<i> + &#160; &#160;mkdir &quot;/dev/shm&quot;, 0755;
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> This one should be better included in stage1 with other /dev stuff IMHO
+</I>&gt;&gt;<i> See images/make_boot_img
+</I>&gt;<i>
+</I>&gt;<i> With my earlier comment about stage1+dracut, I would tend to agree.
+</I>&gt;<i> Perhaps all this stuff can be in stage1 instead?
+</I>
+indeed
+
+&gt;&gt;&gt;&gt;&gt;<i> + &#160; &#160;run_program::run(&quot;udevadm&quot;, &quot;trigger&quot;, &quot;--type=subsystems&quot;,
+</I>&gt;&gt;&gt;&gt;&gt;<i> &quot;--action=add&quot;);
+</I>&gt;&gt;&gt;&gt;&gt;<i> + &#160; &#160;run_program::run(&quot;udevadm&quot;, &quot;trigger&quot;, &quot;--type=devices&quot;,
+</I>&gt;&gt;&gt;&gt;&gt;<i> &quot;--action=add&quot;);
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Since this will forces us to wait, you should either display a &quot;please
+</I>&gt;&gt;<i> wait dialog&quot;
+</I>&gt;&gt;<i> or better not run this as we'll only look at block devices quite a lot later
+</I>&gt;&gt;<i> after accepting license &amp; loading disks modules
+</I>&gt;<i>
+</I>&gt;<i> Technically true, although this requires me to have a bit more
+</I>&gt;<i> understanding of how things work with the installer which I'd ideally
+</I>&gt;<i> like to avoid!.... :p
+</I>
+here we initialize the installer then loop over the steps (see
+perl-install/install/steps_list.pm):
+- choose language
+- accepting license
+- THEN load hd which will triggers udev to scan for LV or the like
+
+So it's useless &amp; not user friendly to force waiting for LVs here when
+we know none will be found
+
+&gt;&gt;&gt;<i> Cool, thanks. I'm not a perl-master so feel free to tidy this commit up
+</I>&gt;&gt;&gt;<i> a bit if you have time, otherwise I'll try and tidy up my mess this
+</I>&gt;&gt;&gt;<i> evening :)
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> There's no urgency so it's better if done by you so that
+</I>&gt;&gt;<i> you eventually became a co maintainer of drakx :-)
+</I>&gt;<i>
+</I>&gt;<i> I have a funny feeling that I'm being tricked into something here.... :p
+</I>
+It's not that hard :-)
+
+&gt;&gt;<i> BTW you may eventually include udev in rescue too
+</I>&gt;&gt;<i> (but only once it's done in stage2)
+</I>&gt;&gt;<i> See rescue/ &amp;&amp; rescue/devices.pl
+</I>&gt;<i>
+</I>&gt;<i> Yeah it's needed in rescue too as I think I mentioned in an earlier
+</I>&gt;<i> email, but this is easier to get working I think.
+</I>
+BTW if you could look at those LVM/DM bugs in rescue:
+<A HREF="https://bugs.mageia.org/buglist.cgi?cmdtype=runnamed&amp;namedcmd=drakx-installer-rescue">https://bugs.mageia.org/buglist.cgi?cmdtype=runnamed&amp;namedcmd=drakx-installer-rescue</A>
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="010681.html">[Mageia-dev] [soft-commits] [2494] Port stage2 to use udev.
+</A></li>
+ <LI>Next message: <A HREF="010683.html">[Mageia-dev] Fwd: Re: [Cooker] System can stall under heavy IOs with slow storage devices
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#10698">[ date ]</a>
+ <a href="thread.html#10698">[ thread ]</a>
+ <a href="subject.html#10698">[ subject ]</a>
+ <a href="author.html#10698">[ 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>