Mount unit fails mounting partition

The output of system control command is as
systemctl status My-Home-private.mount
ā— My-Home-private.mount
Loaded: bad-setting (Reason: Unit My-Home-private.mount has a bad unit file setting.)
Active: inactive (dead)
Where: /My-Home/private
What: /UUID/private
can any body tell me the fault in the script??

read the instructions regarding the rules for naming units - the unit name must match the mount-point - where slash (/) in the mount path are replaced with dashes (-) and if you are using dashes in the mount-point you must generate a special filename for the mount unit or better yet - avoid dashes in the mount-path.

1 Like