Hi,
I made a script that (using rsync <linux utility>) run a backup of some
(particular) data of my computer.
I use an external USB-HD to store data of the backup and, of course, I need
to mount this HD-device before.
A problem come because systemd-udevd automatically mount plugged USB
devices when they are connected to computer.
I my “simple” mind, I fund that this automatically mounted point is”
*/run/media/$USER/partition_label (...this says Gparted…).*
In this way, before that I manually mount the partition in order to use the
rsync command I do:
*umount /run/media/$USER/partition_label. *
This in OK! (this is working) ! But this is only a my empiric solution to
the problem, and looking for <”linux how to manually unmounting the
automatically mounted usb device by system-udevd”> I didn't find nothing
*exactly* appropriate for my problem.
I know that are different solutions (using udev rules) to manage the
automatic montage of devices, but since I already have a good script that
work, I only would like find an “official instruction” for the problem to
manually unmout automatically mounted USB devices by systemd-udev.
Can I have some help ?
thank you
Angelo
lists.fedoraproject.org