Find the answer to your Linux question:
Results 1 to 3 of 3
I just purchased a large drive I want to use for backup purposes. I formatted it to ext3 format. This drive is USB/eSATA. I would like it to always mount ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2005
    Location
    Lebanon, PA
    Posts
    110

    Question Can I make a USB drive always mount to /backup ?


    I just purchased a large drive I want to use for backup purposes.

    I formatted it to ext3 format.

    This drive is USB/eSATA. I would like it to always mount as /backup in the filesystem, and be shared on the network.

    Where do I configure this?
    'Linux is like a swiss army knife. Yet it never gets that "I'm bloated and need suspenders" feeling.' - www.arkaoss.com

  2. #2
    Just Joined!
    Join Date
    Sep 2007
    Location
    Lafayette, IN
    Posts
    83
    You'll need to edit the file /etc/fstab (see man fstab for more info). For example, you could do something like this
    Code:
    LABEL=/backup     /backup    ext3   defaults   1   2
    assuming your partition had the label "/backup".

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    If you want it to be mounted when plugged, you should look into this:

    Writing udev rules

    After you achieve local mounting, you can go to the next step, and share it via nfs, sshfs, samba, ftp or whatever you preffer.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •