Knowee
Questions
Features
Study Tools

Question 2You have created a new logical drive in an extended partition. You have also created an empty directory named /drives/drive2. You need to make the space in the new logical drive accessible to the user via the /drives/drive2 directory. What command should you use? (Please type only the command. Remember, commands are case sensitive. Example: date)

Question

Question 2You have created a new logical drive in an extended partition. You have also created an empty directory named /drives/drive2. You need to make the space in the new logical drive accessible to the user via the /drives/drive2 directory. What command should you use? (Please type only the command. Remember, commands are case sensitive. Example: date)

🧐 Not the exact question you are looking for?Go ask a question

Solution

The command you should use is:

mount /dev/[drive] /drives/drive2

Replace [drive] with the name of your new logical drive. For example, if your new logical drive is named sdb1, the command would be:

mount /dev/sdb1 /drives/drive2

This command mounts the new logical drive to the directory /drives/drive2, making the space in the new logical drive accessible to the user via this directory.

Similar Questions

You need to create a partition that can contain multiple logical drives. What type of partition should you create?

You need to apply a file system to a partition you have created. What command should you use?

To create a file ____________Question 10Answera.allocate the space in file system & make an entry for new file in directoryb.allocate the space in file systemc.none of the mentionedd.make an entry for new file in directory

Exercise Steps:Open the command prompt on your computer.Use the cd command to navigate to the root of the D: drive.Use the md command to create a new directory called "LabExercise".Change into the newly created directory using the cd command.Inside the "LabExercise" directory, create three subdirectories: "Folder1", "Folder2", and "Folder3".Use the dir command to list the contents of the current directory.Take note of the directories and files in the "LabExercise" directory.Navigate into "Folder1" using the cd command.Create a text file named "File1.txt" using any text editor (e.g., Notepad).Navigate back to the "LabExercise" directory.Use the tree command to display the directory structure starting from the "LabExercise" directory.  Observe the hierarchical structure of the directories and files.Remove "Folder2" and its contents using the rd command.Confirm the deletion when prompted.Use the tree command again to verify that "Folder2" and its contents have been removed.Finally, navigate back to the root of the D: drive.

Exercise Steps:Open the command prompt on your computer.Use the cd command to navigate to the root of the D: drive.Use the md command to create a new directory called "LabExercise".Change into the newly created directory using the cd command.Inside the "LabExercise" directory, create three subdirectories: "Folder1", "Folder2", and "Folder3".Use the dir command to list the contents of the current directory.Take note of the directories and files in the "LabExercise" directory.Navigate into "Folder1" using the cd command.Create a text file named "File1.txt" using any text editor (e.g., Notepad).Navigate back to the "LabExercise" directory.Use the tree command to display the directory structure starting from the "LabExercise" directory.  Observe the hierarchical structure of the directories and files.Remove "Folder2" and its contents using the rd command.Confirm the deletion when prompted.Use the tree command again to verify that "Folder2" and its contents have been removed.Finally, navigate back to the root of the D: drive.

1/1

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.