Re: initrd trouble with underlying /dev

2004-07-11 Thread Barak Pearlmutter
It is a simple trick: mkdir /tmp/r mount --bind / /tmp/r cd /tmp/r/dev umount /tmp/r The "mount --bind" remounts a directory so it appears twice, but without any submounts in the target directory. So it was exactly what the doctor ordered. -- Barak A. Pearlmutter <[EMAIL PROTECTED]> Hamil

initrd trouble with underlying /dev

2004-07-09 Thread Barak Pearlmutter
I've got a machine that has been running Debian for a long time. Its root partition is software raid0. It uses a custom kernel, 2.4.22, which does not use initrd. Instead all necessary modules for booting are built into the kernel: hardware drivers, md, etc. The kernel is configured to mounts d