diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-August/018160.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-August/018160.html | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-August/018160.html b/zarb-ml/mageia-dev/2012-August/018160.html new file mode 100644 index 000000000..ae0286cb9 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-August/018160.html @@ -0,0 +1,137 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] UsrMove failure + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20UsrMove%20failure&In-Reply-To=%3C502A3B4F.2010001%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="018158.html"> + <LINK REL="Next" HREF="018155.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] UsrMove failure</H1> + <B>Colin Guthrie</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20UsrMove%20failure&In-Reply-To=%3C502A3B4F.2010001%40colin.guthr.ie%3E" + TITLE="[Mageia-dev] UsrMove failure">mageia at colin.guthr.ie + </A><BR> + <I>Tue Aug 14 13:49:35 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="018158.html">[Mageia-dev] UsrMove failure +</A></li> + <LI>Next message: <A HREF="018155.html">[Mageia-dev] UsrMove failure +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#18160">[ date ]</a> + <a href="thread.html#18160">[ thread ]</a> + <a href="subject.html#18160">[ subject ]</a> + <a href="author.html#18160">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>'Twas brillig, and Johnny A. Solbu at 14/08/12 11:13 did gyre and gimble: +><i> On Tuesday 14 August 2012 11:34, Colin Guthrie wrote: +</I>>><i> I happily have e2fsck in my initrd. +</I>><i> +</I>><i> Which was not my whole point. The average user is trained to use fsck +</I>><i> to check filesystems when this prompt comes along. Almost every guide +</I>><i> out there directed to the normal user describes running fsck, not +</I>><i> e2fsck. It is even written in the prompt text that one should run +</I>><i> fsck, not e2fsck. Either the text in the prompt should be changed or +</I>><i> fsck should be included in the initrd/dracut. I even instruct people +</I>><i> to use the TABulator to auto complete paths and filenames, to reduce +</I>><i> the risk of typos in commands. This doesn't work in the initrd +</I>><i> prompt, either. This should be fixed. +</I> +Probably something worth reporting upstream to dracut maintainers then. +I'll do this next time I speak to Harald, but if you would like to fix +it it's probably quite trivial. + +><i> In my 12 years of using Linux, this is the first time I've had to use +</I>><i> it. It is the first time ever that the various fsck.* tools were Not +</I>><i> available. It is also the first time the up-arrow did not work in +</I>><i> command line. So any typo in commands resulted in having to manually +</I>><i> retype the entire command. Which is a royal pain in the Ass when +</I>><i> fscking multiple filesystems. No, really. +</I> +You've maybe not played with very many very minimal systems as I've come +across this kind of thing quire frequently. Having played about in +dracut shells rather a lot of late I have to admit it's a total pain. + +I'll see what can be done to make this a bit more friendly. + +><i> Another problem with this new setup is that local helper scripts to +</I>><i> check filesystems is not available. My brother had Mandriva for about +</I>><i> a year. He even thinks Windows is dificult. So I made a shellscript +</I>><i> for him to run the next time he saw the fsck prompt, which would run +</I>><i> "/sbin/fsck.ext3 -y /dev/sdxx" on all partitions. This no longer +</I>><i> works in the current setup, forcing every user to manually running a +</I>><i> complicated command in the shell, with options they have never heard +</I>><i> of. I do not believe I'm alone in having to making this kind of local +</I>><i> helper scripts for users who have no intentions of learning to use +</I>><i> the command line. +</I> +If such helper scripts exist and are useful, we can easily add them to a +dracut.conf.d snippet. These config snippets can be included in the +packages that provide these helpers rather than in dracut itself to +allow for proper separation of need (although the complex dependancies +may mean that we do not want to include e.g. the xfs helper (which may +or may not pull in a lot of other tools) if you do not have any xfs +filesystems - in which case it has to be patched into the various dracut +modules instead of done generically. + + +That said, as with your other point above, anything added to the initrd +will make it bigger and thus delay the boot. So you have to strike a +happy balance with having enough to be useful in a (rare) emergency case +and small enough to be spritely during the (more frequent rebooting +process). + +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="018158.html">[Mageia-dev] UsrMove failure +</A></li> + <LI>Next message: <A HREF="018155.html">[Mageia-dev] UsrMove failure +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#18160">[ date ]</a> + <a href="thread.html#18160">[ thread ]</a> + <a href="subject.html#18160">[ subject ]</a> + <a href="author.html#18160">[ 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> |