Automounting Removable Devices

Often on many Linux distros removable devices, primarily USB flash drives, are mounted in the private directory [/var]/run/media/$USER/$UUID. The mount point can e changed to a shared directory using a udev rule.

    # Where to mount removable devices.
    # 0: Mount to a private directory ([/var]/run/media/$USER/$UUID)
    # 1: Mount to a shared directory (/media/$UUID)
    ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{UDISKS_FILESYSTEM_SHARED}="1"

Posted: Category: Usability Tagged: General

Next: Display Managers

Previous: sshpass