LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxQuestions.org Member Success Stories (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/)
-   -   openSUSE 13.2 external media mount point fix (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/opensuse-13-2-external-media-mount-point-fix-4175540206/)

TB0ne 04-20-2015 07:53 AM

openSUSE 13.2 external media mount point fix
 
openSUSE 13.2, when presented with an external USB drive, will mount it happily...except the mount-point is bizarre, and not very user-friendly. It will mount the device as /run/media/<username>/<whatever-drive-ID>, which makes it difficult to access.

To fix this, there are a couple of simple steps:
  1. Create a /media directory
  2. Make it 777, for simplicity sake...this is, after all, for removable media.
  3. Edit the /usr/lib/udev/rules.d/80-udisks2.rules file, and put these lines at the very end:
    Code:

    # Use /media, not /run/media/<username>
    ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{UDISKS_FILESYSTEM_SHARED}="1"

  4. Either run "udevadm control --reload", or reboot.
Done...now, when mounting an external USB drive, it will show up under /media. Much easier to find/access.


All times are GMT -5. The time now is 03:21 AM.