Disabling automount

General support questions
Post Reply
ragnar1971
Posts: 1
Joined: 2018/12/12 07:25:40

Disabling automount

Post by ragnar1971 » 2018/12/12 07:41:05

Hi,

i have bought an Micro SHDC Card an plugged it in the built-in reader of my DELL 74XX Laptop.

The Partitions will be automatically mount into /run/media/ragnar/Partition_UUID

because i have stored any backups of vm files on it, i need to mount it on ~/bu_images

Okay, i have created an file "/etc/udev/rules.d/80-shdc-mount.rules" and an shell script in /usr/local/bin/mount.sh.

After restart "systemd-udevd" and replugging it was Partially successfull.

The symlink was created in /dev/evo-p1 and /dev/evo-p2 but the "RUN+="/usr/local/bin/mount,sh" will not be executed.

The partition will be further mounted as before,

If i execute the script it will mount "/dev/evo-p1 " in "~/images" and "/dev/evo-p1" in "~/backups".

what i must du also that the partitions will not be mount in "/run/media/ragnar/partition_uuid" ???

I thanks for your tips.

ragnar

Post Reply