-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthias Langer skrev: > I'm just a more or less simple user of gentoo who somtimes tries to look > a bit behind the curtain, so if you think this posting doesn't belong to > gentoo-dev let me know. > > However, maybe this is interesting to you: > > Recently i've got serious trouble with one of my hard drives, so that i > was forced to move my gentoo root partition from one hd to another. I > successfully did so by mainly rsync -av source dest directory after > diretcory. However, there are /proc, /dev and /sys which are different. > Especially on the /dev part i was unsure how to do this, so i looked at > the gentoo-udev guide once again, and found out, that for a working > udev, which i can confirm as i'm writing this mail, only the nodes > console and null are requred to exist in the /dev diretory initially. > That's the reason why i was i little bit surprised as > > # mkdir test > # mount --bind / test > # cd test/dev > # ls > > revealed that there are in fact hundrets of premade device nodes in the /dev > directory. > And this is not only true for the box where i discovered this, which was > brought up from a > 2004.x cd, but also true for the box where i just installed gentoo from > 2005.1-r1. > > Is there any reason for this ? > > Matthias > >
I know this topic is quiet old. On my systems I only have /dev/{null,console} , and let udev managed the rest. When I do the install, I remove all the files in /dev (except those two), and run mount --bind /dev /mnt/gentoo/dev , then I do the install, and it works fine. Is there any reason for not doing this, and then recommend that the users that don't use udev/devfs to run MAKEDEV ? Bjarke -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDrWyhO+Ewtpi9rLERAmBcAKCmrYf4h0ToZXY5RjyfC+CG0Fu+wgCfazZm QyPdHTlEF1vQR8XfMGyfNmw= =byxb -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list