![]() | |||||||||||||
Messages in this thread | ![]() |
I'm making a boot CD and having problems unmounting and freeing the initrd after pivoting to a different root. First off, for some reaosn it seems that /linuxrc is not being executed. Just to test this, I have it as a simple script (with execute permissions) printing something to the screen and it never printed....at boot it just seems to go to /sbin/init on the initrd image. After pivoting to a cramfs root, I cannot unmount /initrd as it says that the device or resource is busy. Checking out /proc, it looks like [keventd], [ksoftirqd_CPU0], [kswapd] and [kupdated] are holding onto open fd from /initrd, namely /initrd/dev/console. Strangely though, some of the fd's they're holding are the "normal" /dev/console. | ![]() | ||||||||||
![]() | ![]() | ||||||||||||
Last update: 2005-03-22 13:28 [W:0.033 / U:21.264 seconds] ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site |