Ls -l /etc/fstab
Ls -l /etc/fstab
Use the vi editor to edit /etc/mtab and create an entry for the controller card and the hard disk drives.
Mount a filesystem to each of the hard disk drives.
Use the fdisk command to create one or more partitions on each of the hard disk drives.
Mount any partitions created on the two hard drives such that they are accessible by the operating system.
Format any partitions created with a valid filesystem recognized by Linux.
None, as fsck must be run manually for each filesystem
/, /dev/pts and /dev/shm
/, /proc and swap
All of them, as fsck is run automatically at boot for all filesystems
Nothing; the files are lost and cannot ever be accessed.
Nothing; the files could not have been there as you can only mount to empty directories.
Unmount the device from the directory.
Run the fsck command to recover the file.
Look in the lost+found directory for the file.
Run the fsck command with the -u option to automatically unmount the filesystem first.
Choose yes when warned that running fsck on a mounted filesystem can cause damage.
Unmount the filesystem.
Ensure that the filesystem is mounted.
Backs up an ext2 filesystem
Displays the number of inodes used and available in an ext2 filesystem
Dumps an ext2 filesystem
Is not a valid command
The floppy drive cable has come loose.
There is no floppy disk in the drive.
The device file has become corrupt.
The floppy drive is seen as a character device.
Quotas can limit both user space and the number of files a user can own.
Quotas can only limit user space.
Hard limits can never be exceeded.
Hard limits allow a user to exceed them for a certain period of time.
Soft limits allow a user to exceed them for a certain period of time.
The system responds with a message prompting for more information.
The system responds with a message that the command failed due to missing parameters.
The command succeeds because a line with the necessary parameters exists in /etc/fstab.
The command succeeds because a line with the necessary parameters exists in /etc/mtab.
None, because the hard disk drive and not the partition must be formatted
Mkfs -t type device
MakeFS –type device
Shows the users connected to the /var directory
Shows the size of all directories within the /var directory
Dumps the /var directory
Displays the amount of free space in the /var directory
Has no inode section
Has no data section
Has no size
Displays a major and minor number in place of a file size
Has a fixed size of 300 kilobytes
Prompts the user for the filesystem to use
Displays a help screen detailing its usage
Uses the ext3 filesystem by default
Uses the ext2 filesystem by default
Look in the root of the filesystem.
The system prompts the user for a target location when it comes across a file it cannot repair.
Mount the filesystem and check the lost+found directory underneath the mount point.
View the contents of the directory /lost+found.
Here's an interesting quiz for you.