On Thu, Jun 22, 2017 at 11:21:08PM +0200, Michael Biebl wrote: > Am 22.06.2017 um 16:34 schrieb 積丹尼 Dan Jacobson: > > Well > > $ systemctl status AA.device > > ● AA.device > > Loaded: loaded > > Active: inactive (dead) > > if the user doesn't carefully replace \ with \\ he will get the dead > > message anyway. Wouldn't it be more accurate to say that that device > > could not be found? > > That's a separate issue. I'm not entirely sure why > systemctl status does-not-exist.service > and > systemctl status does-not-exist.device > differ regarding their behaviour. You'd probably need to ask upstream > about that.
.device units normally don't have a file on disk and are created automatically .service units without don't make much sense, so systemctl was changed to print an error in that case to avoid confusion when a typo is made. Zbyszek _______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers