Workshop
In this interactive section, you will be given a quiz and a few exercises in order to help solidify your understanding of the FreeBSD system startup process.
Quiz
1: What's the job of boot0 , the first boot block?
Find the bootable BIOS partitions and give you a list to choose from
Find the BSD partition that has a bootable FreeBSD system and boot it
A1:
The correct answer is D. 2: How do you boot into single-user mode?
Hold down the S key during boot
Enter boot -s at the loader prompt
Press the S key at the boot0 menu
Reconfigure the BIOS and boot from the FreeBSD installation CD
A2:
The correct answer is B. 3: What's /etc/defaults/rc.conf for?
It's your main configuration file; edit it to make changes to the system configuration
Nothing; you can safely delete it
It stores the default configuration options for all third-party applications that you install
It defines default variables for /etc/rc ; override it with /etc/rc.conf
A3:
The correct answer is D. 4: Where do I find the automated startup scripts for third-party applications I install?
A4:
The correct answer is A. 5: How do I allow the system to accept Telnet connections?
Run the /usr/libexec/telnetd program from the command line
Enter telnet_enable=YES in /etc/rc.conf
Uncomment the telnet line in /etc/inetd.conf
Uncomment the telnet line in /etc/inetd.conf and restart the inetd process with kill -HUP
A5:
The correct answer is D. Remember, your changed configuration doesn't take effect until you restart the daemon and force it to reread the config file. 6: If I set a certain facility in syslogd to my username, what happens when that facility is triggered?
Messages from that facility will be emailed to you.
Messages from that facility will be printed to any console where you are logged in.
Messages from that facility will be appended to /var/log/syslog.<username> .
Messages from that facility will vanish into the ether.
A6:
The correct answer is B.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial