Shared Flashcard Set

Details

Linux+ Chapter 5
Linux+ Chapter 5
83
Computer Networking
Undergraduate 1
02/16/2013

Additional Computer Networking Flashcards

 


 

Cards

Term
What do you call the file by which most devices on a Linux system are represented? Where are these files found?
Definition
-Device file
-/dev directory
Term
By default, does Fedora 13 load the floppy driver and create the device file?
Definition
NO
Term
What command is used to manually load the floppy driver?
Definition
-mod probe floppy
-You must be logged in as the root user.
Term
What does the "c" or "b" character located at the beginning of the output of the ls -l command for a device file indicate?
Definition
The type of device file.
Term
What are the major and minor numbers of a device?
Definition
-The major number of a device file points to the device driver for the device in the Linux kernel.
-The minor number indicates the particular device itself.
Term
What will be the device files for the first primary partition on the first and second hard disk drives?
Definition
-/dev/hda1
-/dev/hdb1
Term
What will the device files be for the first primary partition on the first SATA hard drive?
Definition
-/dev/sda1
-/dev/sdb1
Term
What will the device files be for the first loopback interface?
Definition
/dev/loop 0
Term
What will the device files be for USB device files?
Definition
/dev/bus/usb/*
Term
What command can be used to recreate a device file if you know the type, major number, and minor number?
Definition
mknod command
Term
What command is used to recreate a device file if you do not know the type, major number, or minor number of the device?
Definition
/dev/MAKEDEV command
Term
What file contains a list of devices that are currently used on the system and their major numbers?
Definition
/proc/devices
Term
All fileystems have three common components. What are they?
Definition
-Superblock
-Inode table
-Data blocks
Term
True or False? Files and directories appear the same throughout the directory tree regardless of whether there is one filesystem or 20 different filesystems in use by the Linux system.
Definition
TRUE
Term
Ext2
Definition
The traditional filesystem used on Linux.
Term
Ext3
Definition
A variation on ext2 that allows for journaling.
Term
Ext4
Definition
A variation on ext3 that has larger filesystem support and speed enhancements.
Term
NTFS
Definition
A Microsoft propietary filesystem.
Term
MSDOS
Definition
FAT filesystem - The filesystem used on DOS and Window computers.
Term
REISERFS
Definition
A journalizing filesystem similar to ext3.
Term
VFAT
Definition
Virtual FAT filesystem - A filesystem used by DOS and Windows computers.
Term
To what does the term "mounting" refer?
Definition
The process where by a device is made accessible to users via the logical directory tree.(Making data available)
Term
What is a mount point?
Definition
The device that is attached to a certain directory on the directory tree.
Term
What happens to any content resident in a directory that is acting as a mount point when a device is mounted?
Definition
The mount point directory is temporarily covered up by that device while the device remains mounted.
Term
What happens to any content resident in a directory that is acting as a mount point when a device is unmounted?
Definition
The mount point directory is uncovered, and the previous file contents are revealed.
Term
What directory in the FHS is and empty directory that is commonly used as a temporary mount point for mounting removable media devices?
Definition
/mnt directory
Term
Can any existing directory be used as a mount point?
Definition
YES
Term
What is safe practice for mounting devices to avoid making existing files inaccessible to user?
Definition
Include the command unmount.
Term
Where should you create mount point directories for removable media that may be connected to your PC for long periods of time?
Definition
create subdirectories under the /media directory.
Term
What commands are used to mount and unmount devices to and from the mount point directories?
Definition
mount and unmount command
Term
What command is used to format a disk drive with a filesystem?
Definition
mkfs command
Term
If you do not specify the filesystem using the mkfs command, the default filesystem is assumed?
Definition
YES
Term
What command is used to check whether the /media/floppy directory is being used by any users?
Definition
fuser command
Term
What does the /etc/fstab filke do?
Definition
Saves time typing on the command line, you can alternatively specify one argument and allow the system to look up the remaining info in the /etc/fstab file(filesystem table).
Term
What fields does the /etc/fstab file have?
Definition
-device mount
-mount point
-type
-mount options
-dump #
-fsck #
Term
What command is used to mount all filesystems in the /etc/fstab file that are intended to mount at boot time?
Definition
mount -a command
Term
What are four standard PATA hard drive configurations?
Definition
-Primary master(/dev/hda)
-Primary slave(/dev/hdb)
-Secondary master(/dev/hdc)
-Secondary slave(/dev/hdd)
Term
What are the symbolic links within the /dev directory that Linux creates to make the identification of your CD-ROM, CD-RW, DVD-ROM, or DVD-RW drive easier?
Definition
-/dev/cdrom
-/dev/cdrw
-/dev/dvd
-/dev/dvdrw
Term
What is the filesystem type used by CDs and DVDs?
Definition
ISO 9660 filesystem
Term
Why can't CDs and DVDs be ejected from the drive until they are properly unmounted?
Definition
The mount command locks the CD or DVD drive as a precaution.
Term
What happens when you insert a CD or DVD while in a GUI environment?
Definition
It is automatically mounted by the system to a directory underneath the /media directory.
Term
Can ISO images be mounted and accessed by your Linux system?
Definition
YES
Term
Linux requires two partitions at minimum. What are they?
Definition
-Partition that is mounted to the root directory.
-Partition used to hold virtual memory(swap partition)
Term
Why is good practice to use more than just two partitions on a Linux system?
Definition
-Segregate different types of data
-More than one type of filesystem
-Reduce filesystem corruption
-Speed up access to stored data
Term
Where are partition records stored on the hard disk?
Definition
They are stored in the first readable sector on the hard disk.
-MBR
-MBB
Term
What do hard disks larger than 2TB use in place of the MBR?
Definition
GPT(GUID partition table)
Term
What command is used to create partitions after installation?
Definition
fdisk commmand
Term
What is the most reliable way to ensure that the MBR or GPT is reloaded into memory?
Definition
Reboot your system
Term
What command displays the interactive graphical utility used to quickly create, manipulate, and delete partitions?
Definition
cfdisk command
Term
What commands are used to prepare a swap partition, and activate it?
Definition
-mkswap command(prepares)
-swapon command(activates)
Term
What command is used to deactivate a swap partition?
Definition
swapoff command
Term
What is the LVM?
Definition
Logical Volume Manager
Term
Why is using volumes to host filesystems more flexible than using standard partitions?
Definition
Select free space from unused partitions acrosss multiple hard disks in your computer.
Term
What are the components of LVM?
Definition
-Physical volumes
-Volume group
-Logical volumes
Term
How do users perceive the physical location where data is stored when using LVM?
Definition
The physical location of the data is transparent to the user.
Term
What is the command used to create a physical volume using LVM?
Definition
pvcreate command
Term
What command is used to display detailed information about each PV?
Definition
pvdisplay command
Term
What command is used to create a VG that uses the space in the PV?
Definition
vgcreate command
Term
How do you create a VG that uses multiple PVs?
Definition
Simply add multiple device arguments to the vgcreate command.
Term
What is the physical extent(PE)size of a VG?
Definition
When creating a VG, it is important to choose the block size for saving data because it cannot be safely changed later.
Term
What command can be used to display detailed information about each VG?
Definition
vgdisplay command
Term
What command is used to create LVs from the available space in your VG?
Definition
lvcreate commmand
Term
What command is used to display detailed information about each LV?
Definition
lvdisplay command
Term
What three other commands can display information about PVs, VGs, and LVs that are configured on your system?
Definition
-pvscan
-vgscan
-lvscan
Term
What command is used to add another PV?
Definition
pvcreate commmand
Term
What command is used to add a new PV to your existing VG?
Definition
vgtextend command
Term
What commanf is used to increase the size of your LVs to use the additional space provided by an extended VG?
Definition
lvextend command
Term
Why is understanding the device names and mount point directories used by the devices themselves often irrelevant?
Definition
Because it is common to work with removable media devices with in a GUI environment.
Term
How do you determine what device file is used when a removable media device is plugged in?
Definition
run the mount command
Term
When disk space falls below what percentage will you find that the system might suffer from poorer performance or cease to operate?
Definition
10 percent
Term
What command can be usef to monitor free space?
Definition
df command
Term
What command will allow you view disk spaces in a more user-friendly format?
Definition
df -h option
Term
What command is used to view the size of the directory and its contents in Kilobytes?
Definition
du command
Term
What command is used to view only a summary of the total size of a directory?
Definition
du -s option
Term
What causes the most common filesystem corruption?
Definition
System was not shutdown properly.
Term
What is the term used to descibe the process of saving data to the hard disk after it has been temporarily stored in memory?
Definition
Syncing
Term
What command is used to check the filesystem for errors? What switch will cause a full check run?
Definition
fsckcommand
fsck -f option command
Term
What command can be used to perform the same function as the e2fsck command with the -c option?
Definition
badblocks command
Term
What two types of hard disk quota limits are available?
Definition
-soft limits
-hard limits
Term
What is a soft limit?
Definition
The are hard disk quotas that the user can exceed for a certain period of time.
Term
What is a hard limit?
Definition
They are rigid quotas that the user cannot exceed.
Term
How are quotas turned on and off?
Definition
-quota on
-quota off
Term
How can a user view his or her own quota?
Definition
quota command
Supporting users have an ad free experience!