There's another line:
Code:
$ man systemd-mount | grep -A4 EXAMPLEEXAMPLE Use a udev rule like the following to automatically mount all USB storage plugged in: ACTION=="add", SUBSYSTEMS=="usb", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", \ RUN{program}+="/usr/bin/systemd-mount --no-block --automount=yes --collect $devnode"Statistics: Posted by sunrat — 2024-11-09 02:25