Announcement

Collapse
No announcement yet.

strange issue mounting removeable media

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    strange issue mounting removeable media

    In the past when I have inserted removeable media it has been automatically mounted in a folder under /media with a name like B916-0A6F. When I unmounted the media this folder automatically dissappeared.

    With 13.10 the behaviour has changed, the removable media is mounted in a folder with a numeric name similar to that above however this folder is a sub folder of another folder named "pete" and pete is a sub folder of /media. When I unmount the media the numeric named folder dissappears but the folder named pete persists until I delete it, which I can only do using sudo rmdir pete in a console.

    I would explain that pete is my user name.

    Can anyone through any light onto why this is happening please ?

    #2
    It has been this way since 12.10. I think it is due to using udisks2 (a Red Hat creation, I think), but it has been hard to track down why.

    OK, here might have some clues: http://pappp.net/?p=948
    Apparently, the udisks2 people decided that user mounted media would mount to /run/media/$USER/$DEVICE_NAME
    Ubuntu (and probably others) patched it to go to /$USER/$DEVICE_NAME. Now why they didn't just patch it to the way it was before, I cannot determine.

    http://igurublog.wordpress.com/2012/...oss-for-linux/
    has more reading. Both links have some interesting comments though perhaps a bit OT to the OP.

    Comment


      #3
      Thanks Claydoh, thats interesting reading. I thought that I might have screwed something up but it looks as if I might just have to get used to this new behaviour. Funnily enough I can't recall seeing it in either 12.10 or 13.04.

      Comment


        #4
        BTW, if you set a "label" on the removeable media, that name is used under /media/$USER/; can be easier to remember, and looks nicer.

        gparted can set labels. "mlabel" in the mtools package can set FAT labels, and e2label and tune2fs, both in the e2fsprogs package, can set labels on ext2, ext3, or ext4 filesystems.

        Regards, John Little
        Regards, John Little

        Comment

        Working...
        X