Messages in this thread | | | From | "H. Peter Anvin" <> | Subject | Re: PID of init != 1 when initrd with pivot_root | Date | 31 May 2001 21:11:14 -0700 |
| |
Followup to: <20010601040627.A1335@ivan.doma> By author: Ivan <pivo@pobox.sk> In newsgroup: linux.dev.kernel > > Well, I upgraded and found pivot_root and the problem is that how do I make init > run with PID 1. My linuxrc gets PID 7. > > 1 ? 00:03:05 swapper > 2 ? 00:00:00 keventd > 3 ? 00:00:00 kswapd > 4 ? 00:00:00 kreclaimd > 5 ? 00:00:00 bdflush > 6 ? 00:00:00 kupdated > 7 ? 00:00:00 linuxrc > > init doesn't like running with any other PID than 1. I could probably revert to > the not so old way of doing things and exit linuxrc and let the kernel change > root. But then I wouldn't be able to mount root over samba :-(. ( not that I > have any samba shares :-) >
This is this way for backwards bug compatibility. Use the following command line options to make it behave properly:
ram=/dev/ram0 init=/linuxrc
-hpa -- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |