1 |
On Sunday 17 May 2015 10:09:11 Rich Freeman wrote: |
2 |
--->8 |
3 |
> Most people using openrc are also using systemd-udev (and there is a |
4 |
> good chance you do too). The latter was previously named udev and |
5 |
> long predates what most people call systemd. Eudev is a fork of udev, |
6 |
> which comes from after it came under the systemd umbrella, but before |
7 |
> the name change and a number of changes that were controversial. I |
8 |
> believe they try to incorporate many of the patches from systemd-udev |
9 |
> but some default behaviors are different. |
10 |
> |
11 |
> In any case, I just wanted to clarify that systemd-udev is not the |
12 |
> "systemd" you're probably thinking of. In particular, it doesn't |
13 |
> replace openrc or sysvinit. Systemd-udev largely is concerned with |
14 |
> populating /dev, and running initialization of hardware when it is |
15 |
> detected, based on a configurable set of rules. |
16 |
|
17 |
Thanks for the clarification. I admit I haven't kept up with developments here. |
18 |
|
19 |
> On Sun, May 17, 2015 at 9:24 AM, Peter Humphrey <peter@××××××××××××.uk> |
20 |
> wrote: |
21 |
> > Damn. I've just checked and something has renamed my /dev/md7 to |
22 |
> > /dev/md127. Again. It's just too bad. I shall have to stop it when I get a |
23 |
> > quiet moment and reassemble it into /dev/md7. Actually, I know what caused |
24 |
> > it but I didn't notice at the time. |
25 |
> |
26 |
> And this was one of the configuration problems I ran into on rare |
27 |
> occasion. Often booting from a rescue CD or such caused something |
28 |
> like this to happen. |
29 |
|
30 |
I believe the cause in this case was forgetting an important step part-way |
31 |
through creating the volumes, rebooting to repair the omission and then |
32 |
resuming. I should have checked before now that /dev/mdX hadn't been renamed |
33 |
to /dev/md12X. I think it should be fairly straightforward to fix though. |
34 |
|
35 |
> One of the advantages of using an initramfs is that they can be a lot |
36 |
> smarter about finding your partitions. You can identify them by UUID |
37 |
> or label, and not care as much if mdadm or the kernel renames your |
38 |
> device nodes. |
39 |
> |
40 |
> I'd seriously take a look at dracut, though I don't know if it works |
41 |
> with eudev. It certainly should support openrc, and I know that it |
42 |
> did back when I was running openrc. |
43 |
|
44 |
Maybe I will. I suspect dodgy disks and I have a pair of new SSDs on the way. |
45 |
Perhaps it's time for a rethink. |
46 |
|
47 |
> It certainly isn't necessary to use an initramfs to use Gentoo, and I |
48 |
> used to be among the more minimalist crowd that avoided them. |
49 |
> However, once I took the time to examine dracut it went from being a |
50 |
> blob that looked unnecessary to a tool that is often useful. |
51 |
|
52 |
Thanks again for your contribution, Rich. |
53 |
|
54 |
-- |
55 |
Rgds |
56 |
Peter |