[systemd-devel] [PATCH] [RFC] Add DropIn paths to status message

Lennart Poettering lennart at poettering.net
Fri Apr 5 08:47:18 PDT 2013


On Fri, 05.04.13 19:44, Andrey Borzenkov (arvidjaar at gmail.com) wrote:

> В Fri, 5 Apr 2013 17:38:05 +0200
> Lennart Poettering <lennart at poettering.net> пишет:
> 
> > On Fri, 05.04.13 18:27, Oleksii Shevchuk (alxchk at gmail.com) wrote:
> > 
> > >  > dctl status null.target
> > > null.target - NYAN
> > >    Loaded: loaded (/home/alxchk/.config/systemd/user/null.target; disabled)
> > >    DropIn: /home/alxchk/.config/systemd/user/null.target.d
> > >                 ├─descr.conf
> > >                 ├─install-1.conf
> > >                 └─install.conf
> > >            /etc/systemd/user/null.target.d
> > >                 └─test.conf
> > 
> > Hmm, I'd really prefer if we could keep this shorter. I.e. I probably
> > would jus show the files as is, without trying to build a tree of
> > them...
> > 
> 
> Do you mean - every file with full path? I probably won't be more
> readable and we do need to know where each dropin comes from. I guess
> it won't be more compact than in this example.

It would use fewer lines, though the lines would become wider.

Hmm, then maybe this:

    Drop-In: /home/alxchk/.config/systemd/user/null.target.d/
             └─foobar.conf, waldo.conf, piep.conf
             /etc/systemd/user/null.target.d/
             └─zzz.conf, abc.conf, xyz.conf

Or so?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list