Solved

linux, Fedora, core 4

Posted on 2008-06-14
5
250 Views
Last Modified: 2013-12-16
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
0
Comment
Question by:serkanakyol
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
brian_chamberlain earned 50 total points
ID: 21786317


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
 
LVL 2

Expert Comment

by:brian_chamberlain
ID: 21939876
Hi Rindi,

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

Brian
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question