Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

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?
  1. Load the kernel

  2. Run the BIOS self-test

  3. Find the bootable BIOS partitions and give you a list to choose from

  4. 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?
  1. Hold down the S key during boot

  2. Enter boot -s at the loader prompt

  3. Press the S key at the boot0 menu

  4. Reconfigure the BIOS and boot from the FreeBSD installation CD

A2: The correct answer is B.
3:What's /etc/defaults/rc.conf for?
  1. It's your main configuration file; edit it to make changes to the system configuration

  2. Nothing; you can safely delete it

  3. It stores the default configuration options for all third-party applications that you install

  4. 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?
  1. /usr/local/etc/rc.d

  2. /usr/etc/rc.d

  3. /etc/rc.d

  4. /rc.d

A4: The correct answer is A.
5:How do I allow the system to accept Telnet connections?
  1. Run the /usr/libexec/telnetd program from the command line

  2. Enter telnet_enable=YES in /etc/rc.conf

  3. Uncomment the telnet line in /etc/inetd.conf

  4. 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?
  1. Messages from that facility will be emailed to you.

  2. Messages from that facility will be printed to any console where you are logged in.

  3. Messages from that facility will be appended to /var/log/syslog.<username>.

  4. 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


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint