Announcement

Collapse
No announcement yet.

SDCard mountpoint keeps changing

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

    SDCard mountpoint keeps changing

    After upgrading to KDE 4.6 recently, my sdcard's mountpoint changed from /media/disk to /media/<uuid>, wreaking havoc with a number of scripts. I updated the scripts, and all was fine for a couple of weeks. Then last night it suddenly began appearing at /media/på @DOKUWI/ ( - I have no idea why or how or where the heck uDev is pulling that label from).

    The sdcard is fat32. As far as I can tell, it has no volume label (I've tried setting the volume label with mtools, but I keep getting "cannot intialize drive" errors).

    I'd tried adding this to fstab:

    /dev/sdb1 /media/sdcard1 auto rw,auto,user,sync 0 0

    but when I rebooted my system, the sdcard slot shifted from sdb1 to sdc1. But I don't think fstab is the right place to be addressing this issue, anyway.

    I'm getting pretty tired of chasing my sdcard all over my system. I want to ensure that my sdcard slot consistently mounts at the same mountpoint every time, not matter which sdcard I plug into it (so mounting by uuid won't work).

    --Nathanael

    #2
    Re: SDCard mountpoint keeps changing

    Originally posted by Nathanael
    /dev/sdb1 /media/sdcard1 auto rw,auto,user,sync 0 0
    Try using the uuid instead of the /dev entry. That should be consistent.
    You don&#39;t need a license to drive a sandwich.

    Comment


      #3
      Re: SDCard mountpoint keeps changing

      Did you try reformating using a label name

      mkfs.vfat -n label

      Please Read Me

      Comment


        #4
        Re: SDCard mountpoint keeps changing

        Originally posted by Nathanael

        I keep getting "cannot intialize drive" errors
        Hmmmmmmmmm -- that may be very significant, to the problem you are having. FAT is not the world's most rugged filesystem, especially on a device that can get yanked out of the connector before all writes are done. I would suspect the partition table, the data integrity, and the integrity of the media itself. I've thrown more than one SD/HC card away, after confirming that it went bad on me.

        Comment

        Working...
        X