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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] NEED REVIEW: drakdisk refresh feature
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20NEED%20REVIEW%3A%20drakdisk%20refresh%20feature&In-Reply-To=%3C2221699.ixsUErv5ag%40localhost%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="019932.html">
<LINK REL="Next" HREF="019959.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] NEED REVIEW: drakdisk refresh feature</H1>
<B>AL13N</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20NEED%20REVIEW%3A%20drakdisk%20refresh%20feature&In-Reply-To=%3C2221699.ixsUErv5ag%40localhost%3E"
TITLE="[Mageia-dev] NEED REVIEW: drakdisk refresh feature">alien at rmail.be
</A><BR>
<I>Mon Nov 12 01:24:55 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="019932.html">[Mageia-dev] LXDE Power Management in Mageia
</A></li>
<LI>Next message: <A HREF="019959.html">[Mageia-dev] NEED REVIEW: drakdisk refresh feature
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19937">[ date ]</a>
<a href="thread.html#19937">[ thread ]</a>
<a href="subject.html#19937">[ subject ]</a>
<a href="author.html#19937">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Op maandag 15 oktober 2012 23:25:08 schreef AL13N:
[...]
><i> -> actively look for new devices (or size-changed devices) and handle those;
</I>><i> and thus not change all the changes you've made already.
</I>><i>
</I>><i> The point of this is more like stepping stone towards the real things: ie:
</I>><i> not aborting if there are no disks. and later adding installable
</I>><i> network-based disks (for diskless systems).
</I>><i>
</I>><i> And also, if your one of your hotplugged disks isn't correctly in it, i'd
</I>><i> like to refresh it, so the 4th one is detected and so i can add it to the
</I>><i> raid, for instance. instead of exiting the installer, etc...
</I>><i>
</I>><i> in any case, it seems like someone found that it showed gray for a all
</I>><i> disks, so it might not be that good after all...
</I>><i>
</I>><i> but it would be nice for me though if i could pick your brain about the code
</I>><i> and the way of programming though... it's not always easy to get around
</I>><i> this kind of code.
</I>><i>
</I>><i> Can i ask you in the future to look at this from time to time?
</I>[...]
Ok, so this is a new patch; this time, it's next to the toggle for expert
button.
I do a new device check, in a separate variable and check with device file as
unique; if there's one that isn't in the old list. (or if it's changed size).
in that case i put the new entry into the old list.
however, it seems that a VM shuts itself off on executing the check when a new
USB disk was added. :-(
Maybe i'm doing some fundamentals wrong, so i'm asking here if anyone has an
insight, idea or direction i should go to instead.
i'm thinking because i only do 1 of the 5 preparation checks for new disks,
that maybe not everything is done correctly yet: but a halting VM is not
exactly what i expected...
AL13N
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drakdisk_refresh-2012-11-11.patch
Type: text/x-patch
Size: 1848 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20121112/557570ea/attachment.bin>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="019932.html">[Mageia-dev] LXDE Power Management in Mageia
</A></li>
<LI>Next message: <A HREF="019959.html">[Mageia-dev] NEED REVIEW: drakdisk refresh feature
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19937">[ date ]</a>
<a href="thread.html#19937">[ thread ]</a>
<a href="subject.html#19937">[ subject ]</a>
<a href="author.html#19937">[ 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>
|