Hallo,
mittlerweile sind einige Updates vergangen und ich wollte am heutigen Morgen meine SD-Karte am Notebook betrachten. Doch leider wird diese nicht mehr eingebunden. Die SD-Karte sollte über eine udev Regel automatisch in
/mnt/sd-mmcblk0p1 eingebunden werden, dies klappte bisher auch ohne Probleme.
Udev-Regel (Quelle
udev Archwiki)
$ cat /etc/udev/rules.d/11-sd-cards-auto-mount.rules
KERNEL!="mmcblk[0-9]p[0-9]", GOTO="sd_cards_auto_mount_end"
# Global mount options
ACTION=="add", ENV{mount_options}="relatime"
# Filesystem specific options
ACTION=="add", IMPORT{program}="/sbin/blkid -o udev -p %N"
ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,umask=002"
ACTION=="add", RUN+="/bin/mkdir -p /media/sd-%k", RUN+="/bin/ln -s /media/sd-%k /mnt/sd-%k", RUN+="/bin/mount -o $env{mount_options} /dev/%k /media/sd-%k"
ACTION=="remove", RUN+="/bin/umount -l /media/sd-%k", RUN+="/bin/rmdir /media/sd-%k"
LABEL="sd_cards_auto_mount_end"
Nun befindet sich in dem Mountpoint aber immer nur wieder der gleiche Unterordner
$ ls /mnt/sd-mmcblk0p1
654383 lrwxrwxrwx 1 root 19 2011-01-24 "/mnt/sd-mmcblk0p1" -> "/media/sd-mmcblk0p1"/
$ ls /media/sd-mmcblk0p1/
698563 lrwxrwxrwx 1 root 19 2011-03-16 "sd-mmcblk0p1" -> "/media/sd-mmcblk0p1"/
Vlt. kann mir jemand behilflich sein dieses Problem zu lösen. Vielen Dank