Jackson wants to automatically mount a secondary internal hard drive when his Linux workstation boots up. In which files should he configure an entry for the partition on the drive that he wants to mount?

Respuesta :

Answer:

Explanation:

"This should work

Look at the output of df. It will tell you the device for your external drive:

Filesystem            Size  Used Avail Use% Mounted on

/dev/sda3             446G   36G  388G   9% /

udev                  1.9G  4.0K  1.9G   1% /dev

tmpfs                 750M  888K  750M   1% /run

none                  5.0M  8.0K  5.0M   1% /run/lock

none                  1.9G  4.7M  1.9G   1% /run/shm

/dev/sdb1              58G   17G   39G  30% /media/external

Then add an entry to /etc/fstab (use sudo pico /etc/fstab for instance):

/dev/sdb1    /mount-point/you-want  ext4  defaults   0   0

"ext4" should reflect the actual filesystem on your drive. Don't know it? look at output from "mount" to see the "type".

Once all this is done, as long as the drive is connected to the system when it boots, it should appear under the mount point you specified."