Summary

Summary

In this chapter, we have examined how to configure hardware devices on a Solaris system. In addition to standard disks, RAM modules, and CPUs, many other devices are supported by Solaris system and peripheral buses. Administrators should be aware of common techniques used to manage and configure devices such as disks.

Questions

1. 

What command is used to format disks in Solaris?

  1. mkdir

  2. format

  3. fmat

  4. chkdsk

 B. The command used to format disks in Solaris is format .

2. 

What command is used to print a disk's label?

  1. print

  2. label

  3. prtvtoc

  4. prtlabel

 C. The command used to print a disk s label is prtvtoc .

3. 

What command can be used to create only UFS file systems?

  1. newfs

  2. ufs_fs

  3. newfs_ufs

  4. mknewfs

 A. The command used to create only UFS file systems is  newfs  .

4. 

What command is used to display the number of disk blocks used by each directory?

  1. blocks

  2. df

  3. free

  4. du

 D. The du command is used to display the number of disk blocks used by each directory.

5. 

In what directory are physical device names stored?

  1. /devices

  2. /dev

  3. /etc

  4. /usr

 A. The /devices directory stores physical device names.

6. 

In what directory are logical device names stored?

  1. /devices

  2. /dev

  3. /etc

  4. /usr

 B. The /dev directory stores logical device names.

7. 

What are /dev/tty1 and /dev/pty1?

  1. Terminal and pseudoterminal devices

  2. Terminal and pseudoterminal device drivers

  3. Login windows

  4. Terminal types

 A.  /dev/tty1 and /dev/pty1 are terminal and pseudoterminal devices.

8. 

What form do physical device arguments always take?

  1. address@driver:arguments

  2. driver@address:arguments

  3. address:arguments@driver

  4. driver:arguments@address

 B. Physical device arguments always take the form driver@address :arguments.

9. 

What command is used to display a system's configuration?

  1. displayconf

  2. writeconf

  3. prtconf

  4. confprint

 C. The prtconf command is used to display a system s configuration.

10. 

What command creates a new file system?

  1. createfs

  2. createfilesystem

  3. newfilesystem

  4. newfs

 D. The newfs command creates a new file system.

11. 

What command is used to create a mount point?

  1. mkdir

  2. mkfile

  3. mkmount

  4. mkpoint

 A. The mkdir command is used to create a mount point.

12. 

What command prints the volume table of contents?

  1. toc

  2. vtoc

  3. prtvtoc

  4. dispvtoc

 C. The prtvtoc command prints the volume table of contents.

13. 

What slice should hold the root partition?

  1. 0

  2. 1

  3. 2

  4. 3

 A. Slice 0 should hold the root partition.

14. 

What slice should hold the export partition?

  1. 0

  2. 1

  3. 2

  4. 3

 D. Slice 3 should hold the export partition.

15. 

What slice should hold the virtual memory partition?

  1. 0

  2. 1

  3. 2

  4. 3

 B. Slice 1 should hold the virtual memory partition.

Answers

1. 

B. The command used to format disks in Solaris is format.

2. 

C. The command used to print a disk's label is prtvtoc.

3. 

A. The command used to create only UFS file systems is newfs.

4. 

D. The du command is used to display the number of disk blocks used by each directory.

5. 

A. The /devices directory stores physical device names.

6. 

B. The /dev directory stores logical device names.

7. 

A. /dev/tty1 and /dev/pty1 are terminal and pseudoterminal devices.

8. 

B. Physical device arguments always take the form driver@address:arguments.

9. 

C. The prtconf command is used to display a system's configuration.

10. 

D. The newfs command creates a new file system.

11. 

A. The mkdir command is used to create a mount point.

12. 

C. The prtvtoc command prints the volume table of contents.

13. 

A. Slice 0 should hold the root partition.

14. 

D. Slice 3 should hold the export partition.

15. 

B. Slice 1 should hold the virtual memory partition.



Part I: Solaris 9 Operating Environment, Exam I