linux, Fedora, core 4

How to automount a usd harddisk?

I have mounted an usb harddisk but When the system is reboot, I mounted it again manually.

Where is the procedure?

Serkan
serkanakyolAsked:
Who is Participating?
 
brian_chamberlainConnect With a Mentor Commented:


find out what your drive is currently mounted as

if you type df -h it will give you a list of drives.

You will see something like dev/sdax  1G xx 12% /mnt/usb

The open terminal
sudo nano /etc/fstab

Insert the following line
/dev/sdax /mnt/XXX auto noauto,owner,kuzu 0 0

where sdax is what you see at the start of the df-h and XXX is what the drive is currently mounted as , the /mnt/usb bit.

0
 
brian_chamberlainCommented:
Hi Rindi,

There is only one answer and it's the correct one!

Brian
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.