Difference between revisions of "SYA710-student-questions"

From CDOT Wiki
Jump to: navigation, search
(1. Open the file named '/etc/fstab/ in editor.)
Line 1: Line 1:
'''Question 1. List the steps to mount newly created partition Automatically. The partition is  '/dev/sda4' and the mount point to mount the partition is  DATA.'''
+
'''Question 1. List the steps to mount newly created partition Automatically. The partition is  '/dev/sda4' and the mount point to mount the partition is  /DATA.'''
 +
 
 +
1. Open the file named '/etc/fstab/ in editor
 +
 
 +
  vi /etc/fstab
  
1. Open the file named '/etc/fstab/ in editor.
 
 
2. make the following entry at the end of file
 
2. make the following entry at the end of file
 
     /dev/sda4  /DATA      ext3    defaults    0 0
 
     /dev/sda4  /DATA      ext3    defaults    0 0

Revision as of 12:27, 30 November 2008

Question 1. List the steps to mount newly created partition Automatically. The partition is '/dev/sda4' and the mount point to mount the partition is /DATA.

1. Open the file named '/etc/fstab/ in editor

  vi /etc/fstab

2. make the following entry at the end of file

   /dev/sda4   /DATA      ext3    defaults     0 0

3. save the file and reboot

the newly created partition /dev/sda4 will automatically be mounted on /DATA