summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-August/018160.html
blob: ae0286cb9f0b2b82f48bf88531d0a36b0171d7f0 (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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
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:
&gt;<i> On Tuesday 14 August 2012 11:34, Colin Guthrie wrote:
</I>&gt;&gt;<i> I happily have e2fsck in my initrd.
</I>&gt;<i> 
</I>&gt;<i> Which was not my whole point. The average user is trained to use fsck
</I>&gt;<i> to check filesystems when this prompt comes along. Almost every guide
</I>&gt;<i> out there directed to the normal user describes running fsck, not
</I>&gt;<i> e2fsck. It is even written in the prompt text that one should run
</I>&gt;<i> fsck, not e2fsck. Either the text in the prompt should be changed or
</I>&gt;<i> fsck should be included in the initrd/dracut. I even instruct people
</I>&gt;<i> to use the TABulator to auto complete paths and filenames, to reduce
</I>&gt;<i> the risk of typos in commands. This doesn't work in the initrd
</I>&gt;<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.

&gt;<i> In my 12 years of using Linux, this is the first time I've had to use
</I>&gt;<i> it. It is the first time ever that the various fsck.* tools were Not
</I>&gt;<i> available. It is also the first time the up-arrow did not work in
</I>&gt;<i> command line. So any typo in commands resulted in having to manually
</I>&gt;<i> retype the entire command. Which is a royal pain in the Ass when
</I>&gt;<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.

&gt;<i> Another problem with this new setup is that local helper scripts to
</I>&gt;<i> check filesystems is not available. My brother had Mandriva for about
</I>&gt;<i> a year. He even thinks Windows is dificult. So I made a shellscript
</I>&gt;<i> for him to run the next time he saw the fsck prompt, which would run
</I>&gt;<i> &quot;/sbin/fsck.ext3 -y /dev/sdxx&quot; on all partitions. This no longer
</I>&gt;<i> works in the current setup, forcing every user to manually running a
</I>&gt;<i> complicated command in the shell, with options they have never heard
</I>&gt;<i> of. I do not believe I'm alone in having to making this kind of local
</I>&gt;<i> helper scripts for users who have no intentions of learning to use
</I>&gt;<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>