1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Matthias Langer skrev: |
5 |
> I'm just a more or less simple user of gentoo who somtimes tries to look |
6 |
> a bit behind the curtain, so if you think this posting doesn't belong to |
7 |
> gentoo-dev let me know. |
8 |
> |
9 |
> However, maybe this is interesting to you: |
10 |
> |
11 |
> Recently i've got serious trouble with one of my hard drives, so that i |
12 |
> was forced to move my gentoo root partition from one hd to another. I |
13 |
> successfully did so by mainly rsync -av source dest directory after |
14 |
> diretcory. However, there are /proc, /dev and /sys which are different. |
15 |
> Especially on the /dev part i was unsure how to do this, so i looked at |
16 |
> the gentoo-udev guide once again, and found out, that for a working |
17 |
> udev, which i can confirm as i'm writing this mail, only the nodes |
18 |
> console and null are requred to exist in the /dev diretory initially. |
19 |
> That's the reason why i was i little bit surprised as |
20 |
> |
21 |
> # mkdir test |
22 |
> # mount --bind / test |
23 |
> # cd test/dev |
24 |
> # ls |
25 |
> |
26 |
> revealed that there are in fact hundrets of premade device nodes in the /dev directory. |
27 |
> And this is not only true for the box where i discovered this, which was brought up from a |
28 |
> 2004.x cd, but also true for the box where i just installed gentoo from 2005.1-r1. |
29 |
> |
30 |
> Is there any reason for this ? |
31 |
> |
32 |
> Matthias |
33 |
> |
34 |
> |
35 |
|
36 |
I know this topic is quiet old. |
37 |
On my systems I only have /dev/{null,console} , and let udev managed the |
38 |
rest. |
39 |
When I do the install, I remove all the files in /dev (except those |
40 |
two), and run mount --bind /dev /mnt/gentoo/dev , then I do the install, |
41 |
and it works fine. |
42 |
|
43 |
Is there any reason for not doing this, and then recommend that the |
44 |
users that don't use udev/devfs to run MAKEDEV ? |
45 |
|
46 |
Bjarke |
47 |
-----BEGIN PGP SIGNATURE----- |
48 |
Version: GnuPG v1.4.2 (MingW32) |
49 |
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org |
50 |
|
51 |
iD8DBQFDrWyhO+Ewtpi9rLERAmBcAKCmrYf4h0ToZXY5RjyfC+CG0Fu+wgCfazZm |
52 |
QyPdHTlEF1vQR8XfMGyfNmw= |
53 |
=byxb |
54 |
-----END PGP SIGNATURE----- |
55 |
-- |
56 |
gentoo-dev@g.o mailing list |