PT. 3 Ch. 15 Storage Media Flashcards
Command for mounting a file system
mount
command for unmounting a file system
umount
command to check and repair a file system
fsck
command to manipulate disk partition table
fdisk
command to create a file system
mkfs
commmand to convert and copy a file
dd
command to create an ISO 9660 image file
genisoimage (mkisofs)
command to write data to optical storage media
wodim (cdrecord)
command to calculate an md5 checksum
md5sum
What is the first step in managing a storage device?
attaching the device to the file system tree (mounting).
What does mounting allow?
It allows the device to interact with the operating system
What file contains the devices to be listed at boot time?
/etc/fstab (file system table)
What are the six fields describing the devices in less fstab?
- Device 2. Mount Point 3. File System Type 4. Options 5. Frequency 6. Order
What is the Description for Device in /etc/fstab?
This label is read by
the operating system when the device is attached to the
system. That way, no matter which device file is
assigned to the actual physical device, it can still be
correctly identified.
Describe the mount point filed of /etc/fstab
The directory where the device is attached to the file system tree.
Describe the File System Type Field of /etc/fstab
Linux allows many file system types to be mounted.
Most native Linux file systems are Fourth Extended
File System (ext4), but many others are supported,
such as FAT16 (msdos), FAT32 (vfat), NTFS
(ntfs), CD-ROM (iso9660), etc.
Describe the options field of /etc/fstab
File systems can be mounted with various options. It is possible, for example, to mount file systems as readonly or to prevent any programs from being executed from them (a useful security feature for removable media).
Describe the Frequency filed of etc/fstab
A single number that specifies if and when a file system is to be backed up with the dump command
Describe the Order field of /etc/fstab
A single number that specifies in what order file systems should be checked with the fsck command
What happens when you enter the mount command without argument?
a display of the file systems currently mounted
What is the Mount display format listing?
device on mount_point type file_system_type (options
What happens when you insert a disc into the CD-Rom?
The device (cdrom) will automatically mount if the linux is a newer version.
What are the steps to unmount a disc?
su - password: umount device_name i.e. umount /dev/sdc (first field in mount)
What are the two steps to reformat a flash drive from Fat32 to a linux native file system?
- (Optional) Create a new partition layout if the existing one is not to our liking. 2. Create a new, empty file system on the drive