Re: 2.4.22-pre4: devfs on initrd stays busy after pivot_root

Alan Cox
2003-07-29T14:23:33Z

On Maw, 2003-07-29 at 15:08, Andreas Haumer wrote:
> Beginning with 2.4.22-pre4 I can't unmount devfs on my
> initial ramdisk anymore because of EBUSY
>
> I use initrd and let the kernel mount devfs on /dev on boot.
> I then set up all the drivers needed to mount the real root
> device, do a "pivot_root" and continue with /sbin/init,
> just like it is described in Documentation/initrd.txt

The kernel opens /dev/tty but doesn't close it on the thread
that isnt forking and execing init. Its on my todo list.
Basically a crazy piece of the old setup broke because we
imposed sanity. Fixing it however may require a little thought