Results 1 to 2 of 2

Thread: USB automount

  1. #1
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,288

    Default USB automount

    When I plug in a USB stick the system mounts it to a directory under /run. Is there some way I can change that to have it mounted under a different directory?

    Thanks in advance.

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,982

    Default Re: USB automount

    Make an /etc/fstab entry for it. Of course you must then identify this mass-storage device in a unique way. Thus use one of the /dev/disk/by-* symbolic links.

    When there is an /etc/fstab entry, the automatic mounting by the desktop will not take place. Thus mounting must be done either by root directly, or indirectly by the user which requires the usage of mount option user.

    Of course see
    Code:
    man 8 mount
    Henk van Velden

Posting Permissions

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