|
|
|
|
|
by azornathogron
1863 days ago
|
|
It is at least built in a logical way and once you understand that logic then related commands will be discoverable. `systemctl` is the systemd command line tool for inspecting and manipulating services/units.
`systemctl status` is the command for showing the status of a service or unit. The `--` part is not specific to systemd at all, it's used in many commands to separate flags from positional arguments. This lets you use positional arguments that might happen to start with a dash without them being interpreted as flags. [1]. systemd manages mounts, they're named according to the mount point, with a transformation to turn it into a filename (mostly converting slashes to dashes, plus a .mount suffix). Hence, the root mount ('/') is named '-.mount'. [1] See, e.g., https://unix.stackexchange.com/questions/11376/what-does-dou... |
|
I wish they had picked ':' for '/' instead of '-'. That one would be pretty uncommon to find in a mount path, and has a bit of precedent on OSX.
(Who would ever mount anything on a path with a colon anyway? That would be as silly as using slashes instead of dashes for options)