News for hackers. Stuff that matters.
Re:Writing my own init with Go by mmarx on Tuesday February 09, 2016 @05:20PM (#11069280)
The kernel already supports acquiring a DHCP lease via the “ip=dhcp” boot option. Why does this need to be a feature of init?
Re:Writing my own init with Go by CSDude on Tuesday February 09, 2016 @06:25PM (#11069642)
I did not know we could have ip=dhcp option, but I will need to create a network manager now or later, but for trying out some stuff, I can use that flag. Also, I will not bundle services to init, it will be just forking, signaling and waiting. All the other utitilies will be small independent code exercises for me.
Re:Writing my own init with Go by pjmlp on Tuesday February 09, 2016 @05:25PM (#11069306)
Because init is common to several UNIXes and ip=dhcp is a Linux specific feature?
Re:Writing my own init with Go by mmarx on Tuesday February 09, 2016 @05:32PM (#11069348)
> Because init is common to several UNIXes and ip=dhcp is a Linux specific feature?

And yet the author seems to be comfortable using those linux-specific features:

“Also, the kernel paremeters must have the rw flag or you have to remount the /dev/sda1 as rw, but changing kernel parameters are much more easier.” (from the follow-up post).