I am learning Embedded Linux using the book titled “Mastering Embedded Linux Programming” by Chris Simmonds on page 131 of the second edition. He speak about adding the following lines to an “inittab” file in /etc when building a ram file system.
There is a version of getty in BusyBox. You launch it from inittab using the keyword
respawn, which restarts getty when a login shell is terminated, so inittab should read
like this:
`
::sysinit:/etc/init.d/rcS
::respawn:/sbin/getty 115200 console
`
My problem is when I do this I can’t seem to log in I get re-occurring message
getty: can't open '/dev/null': No such file or directory
Any insight would be appreciated.