Systemd: hyphens in mount point

خرید بک لینک

By default udisks2 mounts removable drives under /run/media/$USER/[UUID]. The UUID contains hyphens.

I wanted to use this mount point in a systemd service. But systemd uses hyphens instead of forward slashs.

man systemd.mount tells me:

Mount units must be named after the mount point directories they control. Example: the mount point /home/lennart must be configured in a unit file home-lennart.mount.

Can /run/media/daniel/76ya27o9-abce-81fv-8j2hj-casjkdjhhlasfd/ be used in a systemd service because of the hyphens? If yes, how?

- - , .
.

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 258 تاريخ: يکشنبه 27 تير 1395 ساعت: 7:28

صفحه بندی