A server administrator mounted a new hard disk on a Linux system with a mount point of /newdisk.
It was later determined that users were unable to create directories or files on the new mount point.
Which of the following commands would successfully mount the drive with the required parameters?
A.
echo /newdisk >> /etc/fstab B.
net use /newdisk C.
mount "o remount, rw /newdisk D.
mount "a.
C.
Reference: https://unix.stackexchange.com/questions/149399/how-to-remount-as-read-write-a-specific-mount-of-device.
A server administrator mounted a new hard disk on a Linux system with a mount point of /newdisk.
It was later determined that users were unable to create directories or files on the new mount point.
Which of the following commands would successfully mount the drive with the required parameters?
A.
echo /newdisk >> /etc/fstab
B.
net use /newdisk
C.
mount "o remount, rw /newdisk
D.
mount "a.
C.
https://unix.stackexchange.com/questions/149399/how-to-remount-as-read-write-a-specific-mount-of-deviceThe correct answer is C.
Explanation:
When a new hard disk is mounted on a Linux system, it needs to be mounted with the appropriate parameters in order for users to be able to create directories or files on the mount point.
The mount command is used to mount file systems or devices on a Linux system. In this case, the mount point for the new hard disk is /newdisk. The mount command can be used to remount a file system or device with different options or parameters.
The correct command to successfully mount the new hard disk with the required parameters is:
mount -o remount,rw /newdisk
The -o option specifies the mount options, and in this case, the remount and rw options are used. The remount option remounts the file system without changing its status, and the rw option specifies that the file system should be mounted as read-write.
Option A is incorrect because the echo command simply appends text to a file, in this case, the /etc/fstab file, which is used to store information about file systems that are automatically mounted at system boot time. However, this command does not actually mount the new hard disk.
Option B is incorrect because the net use command is used to connect to shared resources on Windows systems, not to mount file systems on Linux systems.
Option D is incomplete and does not provide any parameters or options for the mount command.