Ich habe das selbe Problem mit meiner Platte und SSD. Ich habe dazu eine udev-Regel, die die Platten automatisch nach Label einhängt.
/etc/udev/rules.d/11-mnt-by-label-auto-mount.rules
Code: Alles auswählen
# Mount under /mnt; use partition label if present
# The following udev rule set automatically mounts devices/partitions that are
# represented by /dev/sd* (USB drives, external hard drives and sometimes SD
# cards). If a partition label is available, it mounts the device to
# /mnt/<label> and otherwise to /mnt/usb-sd* (ex: /mnt/usb-sdb1)
KERNEL!="sd[a-z][0-9]", GOTO="mnt_by_label_auto_mount_end"
# Import FS infos
IMPORT{program}="/sbin/blkid -o udev -p %N"
# Get a label if present, otherwise specify one
ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}"
ENV{ID_FS_LABEL}=="", ENV{dir_name}="usb-%k"
# Global mount options
#ACTION=="add", ENV{mount_options}="relatime"
ACTION=="add", ENV{mount_options}="defaults,noatime,nodiratime"
# Filesystem-specific mount options
ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,umask=002"
# Mount the device
ACTION=="add", RUN+="/bin/mkdir -p /mnt/%E{dir_name}", RUN+="/bin/mount -o $env{mount_options} /dev/%k /mnt/%E{dir_name}", SYMLINK+="usb_%E{dir_name}"
# Clean up after removal
ACTION=="remove", ENV{dir_name}!="", RUN+="/bin/umount -l /mnt/%E{dir_name}", RUN+="/bin/rmdir /mnt/%E{dir_name}"
# Exit
LABEL="mnt_by_label_auto_mount_end"